"Roger" <ro***@pcsrevenuecontrol.com> wrote in message
news:OP**************@tk2msftngp13.phx.gbl...
What did MS not take the chance to change
the silly == operator when they designed C#,
to something reasonable like = ?
Why change the universal meaning of = ?
Wouldn't it be better to have:
Assignment := //or something else
Equal = //but keep = to be =
My view,
Roger
I also think pascal style makes more sense.
As I'm used to Delphi I typically assign when I should compare, which makes
for some funny bugs when I have (the misfortune) to code in C/C++. My Bad.
But as C# protects you from doing stupid things with assignments, it's no
big deal.
And as I do 99% of my coding in C# nowadays, I seldom make these kind of
mistakas anymore.
- Michael S