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

Re: Newbie error


  • Subject: Re: Newbie error
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 2 Jun 2006 16:38:17 -0400


As a point of order, you most certainly *should* get into the habit of naming things according to the "Cocoa way" so that it is easy to support KVC/KVO. Sure, you can use camel notation only when needed for KVC/KVO, but you have to know the rules well and if you're going to develop Cocoa applications, it's best to follow conventions so you don't break convention-dependent mechanisms such as KVC/KVO.


I see no harm whatsoever in volunteering that information along with the rest of the discussion, especially when the OP identifies as a newbie and looks to be fairly misguided. There's no need at all to be adversarial on this point - this kind of guidance is quite helpful to a newbie and is exactly what helped me get started on a lot of languages.

  Just my humble Idiot Opinion ... ;-)

--
I.S.


On Jun 2, 2006, at 4:32 PM, Lon Giese wrote:

Well I'm glad we agree on one point but the C Pocket Reference only gives 4 restrictions on naming identifiers, I think you know what they are. Other than that the naming guidelines are just guidelines. There is no should about it.

And he wasn't asking anyone how to name his identifiers.

_______________________________________________ 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: Newbie error (From: Lon Giese <email@hidden>)

  • Prev by Date: Re: Newbie error
  • Next by Date: Re: NSDocument with fixed/auto-generated filename
  • Previous by thread: Re: Newbie error
  • Next by thread: Re: Simple Graphs
  • Index(es):
    • Date
    • Thread