On Nov 21, 2008, at 8:54 AM, David Blanton wrote:
Why is : if ( boolVar == YES) or if ( boolVar == NO) bad form?
It's not bad form per se, but the former is unnecessarily redundant & the "== YES" can be eliminated, and the latter can be shortened using a !.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]