Re: loop efficiency & messages
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