On Aug 2, 2008, at 10:44 PM, Brian Aker wrote:

  if (foo == false) {...};
  if (!foo) ...

The reason I go for == over ! is simply that from experience I know that I will pass right by a mistake with !, but with the written form I do not.


How about

   if ( not foo ) {

Would that be clear enough? I think it'd give you the clarity you want, and without the extra operand and literal that I don't.

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance





_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to