From: Michael K. <mi...@mu...> - 2006-11-06 12:06:09
|
On Sun, 5 Nov 2006, Larry McVoy wrote: > and I can't remember an instance of someone getting it wrong because we > did an "==" instead of an "=" or the other way around. > > I think this is a newbie error that simply doesn't happen with pros. FWIW also, after more than 15 years I still typo = vs. == sometimes in my C code, but I'm in the habit of putting constants first so that at least those are caught with an error. I never confuse the two operators, my fingers just don't always type the right thing. Doesn't happen often, but still happens. For that reason I'm similarly a tiny bit put off by "ni" as the opposite of "in". No chance of confusing the two, but easier to typo than, for example, "nin" or "!in" or "!($value in $list)". But I guess "ni" to "in" is more like "ne" is to "eq". Pity "ne" isn't "neq". Good thing I'm not (to my knowledge) dyslexic. :) -- Michael Kirkham www.muonics.com |