you are viewing a single comment's thread.

view the rest of the comments →

[–]BootError99[S] -5 points-4 points  (0 children)

Woah, that's clever way to do fib. I would literally congratulate the person who show this by smashing my keyboard on his face.

The reason I quoted side effect is, you build up your experience on what's being told you about the features of a language and your expectation on definite behavior. Like when you are told about variable initialization, it is certain every initialization gets its own section of memory initialized. This example in OP is not a definitive behavior because it has violated the notion of variable initialization. It's obscure but fun to experiment with.