Re: Objective-C Instance Variable Names
Re: Objective-C Instance Variable Names
- Subject: Re: Objective-C Instance Variable Names
- From: "Hamish Allan" <email@hidden>
- Date: Thu, 3 Apr 2008 19:29:20 +0100
On Thu, Apr 3, 2008 at 7:08 PM, Robert Claeson <email@hidden> wrote:
> C. Instance variables are usually named like "theName", "theAddress" or
> something else that makes sense if there's the risk of mixup between ivars
> and locals.
Myself I use "myName" for instance variables and "theName" for static
variables. (I guess I'd probably use "globalName" if circumstances
ever dictated.)
Hamish
_______________________________________________
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