Hacker News new | ask | show | jobs
by ben509 2528 days ago
It's not valid in an assignment statement, so you can't use it everywhere.

FWIW, I agree with the sentiment; I use := for assignment in my language precisely because that's the correct symbol. But even there, my grammar accepts = as assignment as well because I type it from habit.