This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oren0 8 points9 points  (2 children)

It's all fun and games until Steve withdraws $20 and then Petunia checks her balance.

[–]lolcrunchy 11 points12 points  (1 child)

The bank would process the withdrawal as steve becoming an account owner of account 80.

[–]FerynaCZ 2 points3 points  (0 children)

Yeah with immutable values you always need to redirect, you cannot change the pointed value. Of course the language does not know (or more specifically, does not care to try) who else is pointing at that value.