Re: Unnecessary Boolean Warning
Re: Unnecessary Boolean Warning
- Subject: Re: Unnecessary Boolean Warning
- From: Graham Cox <email@hidden>
- Date: Mon, 01 Aug 2011 11:15:57 +1000
On 01/08/2011, at 6:13 AM, Gordon Apple wrote:
> Anybody who understands
> basic boolean operator precedence knows this is unnecessary.
True, but who does? I mean, sure, if everyone who ever sees your source has that fully committed to heart, you're golden. Otherwise, what's the harm of a few brackets to make it absolutely clear? It's not as if it makes any difference to the object code. Code for readability.
--Graham
_______________________________________________
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