Hacker News new | ask | show | jobs
by antirez 5499 days ago
X=X+1
1 comments

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.
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.