3 ms·
It is, but many intro programmers (and non-intro programmers!) often forget to use == instead of = for comparison, because in the real world, = more often impli
by chrisshroba 7y ago
It is, but many intro programmers (and non-intro programmers!) often forget to use == instead of = for comparison, because in the real world, = more often implies equality, rather than assignment. So a novice might mistakenly type `if x=1:` but they would be unlikely to accidentally type `if x:=1:`.
- madhadron 7y agoMakes you wonder why we switched from = is equality and := is assignment like it was in the ALGOL family.