Hacker News new | ask | show | jobs
by theblueadept111 5497 days ago
X = X + 1 was my earliest 'aha' moment. At first it stumped me... there is absolutely no value X such that X = X + 1, so how on earth can this be a valid line of computer code? It really pissed me off.
1 comments

And it should. The "=" is misused like this. ":=" should've become the norm...

Mathematics and programming are similar in so many regards. No reason to confuse people like this.