Quote:
Originally Posted by donna1
I really dont like this ===
I dont agree with even the two distinctions of = and ==
That caused me loads of bugs last week before I realised they are completely different
Another stupid idea from someone, who has probably wasted combined millions of hours in errors since
|
So presumably you would like the PASCAL solution better?
Pascal uses := for assignment and = for comparison.
And it's just as easy there to make the mistake of using = when you meant := as it is to make the JavaScript/Java/C/C++/C#/PHP (and other languages!!!!) mistake of using = when you meant ==.
If you REALLY want confusion, use BASIC, which only has =. And what do you think
means in BASIC??
HINT: A will get a value of FALSE. Probably.