site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com User-agent: Microsoft-Entourage/11.1.0.040913 on 2005-03-31 1:32 PM, John C. Randolph at jcr@apple.com 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 - wjcheeseman@adelphia.net 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 (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Cheeseman