• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Style Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Cocoa Style Question (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Nested sheets
  • Next by Date: Re: Nested sheets
  • Previous by thread: Re: Cocoa Style Question
  • Next by thread: Re: Cocoa Style Question
  • Index(es):
    • Date
    • Thread