Re: Cocoa Style Question
Re: Cocoa Style Question
- Subject: Re: Cocoa Style Question
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 31 Mar 2005 17:47:53 -0500
on 2005-03-31 1:32 PM, John C. Randolph at email@hidden wrote:
> It's really just a matter of taste. I often write code in the more
> verbose manner, and then condense it after I've gotten it working.
Debugging is easier if you break everything out into separate statements
with lots of local variables. But when I'm doing something routine that I
know will work, I jumble them all together because it's easier to skip over
when I'm eyeballing my code for problems.
My working assumption is that it makes no difference at runtime because the
compiler will optimize either approach to the same machine code, by and
large.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden