S
Seebs
I don't know. I learnt C pretty young, and I was able to distinguish
between '=' and '==', thanks to three subtle notions:
Oh, I can distinguish between them. It's just that I'm much more likely
to get them wrong than I am more-distinct operators. Especially if I've
recently been working in a language that uses '=' for comparison. Basically,
if you present me with an otherwise mostly correct piece of code that uses
= where it should have been ==, it's quite possible for me to miss it,
especially if there are other errors which are more obvious.
I do not think C would have been a worse language had the assignment operator
been more obviously distinct, such as :=, but it wasn't, so here we are.
-s