Re: assignment in if clause
Re: assignment in if clause
- Subject: Re: assignment in if clause
- From: Scott Ribe <email@hidden>
- Date: Tue, 27 May 2008 08:46:14 -0500
- Thread-topic: assignment in if clause
> The style I adopted is to place the "most constant" part of an
> expression first:
I should do that. To me, it feels "wrong" particularly when comparing to the
result of a function call, but I could get used to it. Of course, comparing
2 vars it won't help, but I'm not sure how often that happens anyway...
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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