Are programmers negative people
-
I don't not find that non-positive logic tests are not less complex to understand.
:laugh: Is that yes, or no?
Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.
-
I seem to recall a Dilbert version of that joke where he says something like "I have a redundant backup over here" and points to another half empty/full glass.
Sunrise Wallpaper Project | The StartPage Randomizer | The Windows Cheerleader
-
I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?
Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.
Don't think it matters too much, most of mine are if(x!=null) type blocks as I only want to do something to an object if its actually set, I kinda miss c/c++ where you could just do if(x) guess maybe it was more prone to errors though say when you get pulled into a meeting halfway through typing a statement out.
-
i think the real question is... is the stack half empty...or half full...
----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford
push eax problem solved.
-
I was just reading through some code, looking for the cause of an undocumented feature, and it occurred to me that something like 70% of my conditional statements are in the negative. e.g. if (x != y), or while (!p). Is this the same for you guys/gals, and is it a bad thing?
Henry Minute If you open a can of worms, any viable solution *MUST* involve a larger can.
No :laugh:
Matt Newby President, Matt Newby Enterprises, Inc. matt@mattnewby.com