in reply to Re^3: Avoiding the == blues
in thread Avoiding the == blues
>>"Put the constant on the left," he repeated. "You can't assign to a constant, so it's a syntax error if you say = instead of ==."
Interesting, but I have to say that with practice an alarm bell goes off when I write such conditional statement anyway. In the same way that an alarm bell woulld need to go off in order to remember to put the constant on the left.