• 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: loop efficiency & messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loop efficiency & messages


  • Subject: Re: loop efficiency & messages
  • From: Johnny Deadman <email@hidden>
  • Date: Wed, 23 Mar 2005 07:34:40 -0500

On the day that you finally realize you have to make your whole library KVC compliant you will really start to wish you had listened to your grandmother and used 'set' instead of 'get'.

On 23-Mar-05, at 7:23 AM, Will Mason wrote:

Not exactly on topic but getCount is a lousy name for a method in
objective C.

Oh, don't be daft. Naming a getter method in Objecitve-C is no different from naming a getter method in any other language, and Java for instance routinely uses "get" to prefix a getter method. Just because "get" is discouraged by Apple doesn't mean we should all run from it in terror. Frankly, if a method is named getCount or count, it's equally easy to read and understand no matter what language in which it's written.




-- John Brownlow Deep Fried Films, Inc

http://www.johnbrownlow.com
http://www.pinkheadedbug.com

_______________________________________________
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: loop efficiency & messages (From: Will Mason <email@hidden>)

  • Prev by Date: Re: loop efficiency & messages
  • Next by Date: Re: Dock Application Click
  • Previous by thread: Re: loop efficiency & messages
  • Next by thread: Re: loop efficiency & messages
  • Index(es):
    • Date
    • Thread