Re: Unnecessary Boolean Warning
Re: Unnecessary Boolean Warning
- Subject: Re: Unnecessary Boolean Warning
- From: Andy Lee <email@hidden>
- Date: Thu, 04 Aug 2011 01:15:37 -0400
On Aug 3, 2011, at 11:20 PM, Graham Cox wrote:
> On 04/08/2011, at 1:17 PM, Preston Sumner wrote:
>
>> I find short-circuit evaluation easier to read and much more concise, and, of course, it's always nice to avoid unnecessary levels of nesting.
>
>
> I wouldn't necessarily disagree, but companies often have their own coding standards that forbid that sort of thing.
I guess I wouldn't protest either way, especially since "doThis && doThat" is a common idiom at the command line.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden