• 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: Variable names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable names


  • Subject: Re: Variable names
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 13 Jan 2011 18:05:51 +1100
  • Thread-topic: Variable names

On 13/1/11 5:01 PM, "BareFeetWare" <email@hidden>
wrote:

> Gotta get back to finishing my app in Cocoa, calling libraries that use quite
> verbose but thankfully very descriptive variable and method names. God bless
> the Apple engineers for their forward thinking ;-)

So where are you seeing the variable names they use, other than instance
variable names?

Without the source code, I'm not sure how you can tell what they're using
for variable names, apart from assuming they use the names that appear in
the .h files. You know, descriptive names like error, flag, sender, pb, set,
opts, r, ext, rect, cnt, obj, cmptr, idx, idx1, idx2 -- it took me a couple
of classes to come up with that list. Very descriptive. And would you
believe it, most of the sample code even uses horrors like (i = 0; i <
count; i++)!

What were they thinking...

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Variable names (From: BareFeetWare <email@hidden>)

  • Prev by Date: Re: Variable names
  • Next by Date: Re: How to delete extraneous plist files via AppleScript
  • Previous by thread: Re: Variable names
  • Next by thread: Re: Variable names
  • Index(es):
    • Date
    • Thread