Re: numberOfRowsInTableView
Re: numberOfRowsInTableView
- Subject: Re: numberOfRowsInTableView
- From: Marcel Weiher <email@hidden>
- Date: Fri, 25 Apr 2003 20:58:27 +0200
On Friday, April 25, 2003, at 06:50 Uhr, Peter Karlsson wrote:
Do you really think I care if you join Marco or not?
You should, because he represents the opinion of probably most of the
people you are trying to get help from. Now it is your right to p*ss
all of them off, but this is an unwise course of action if you expect
help...
Can we please stop this crap now and talk about Cocoa programming
instead?
You probably missed this, but Cocoa programming was exactly what Georg
was talking about. The obvious naming-conventions are one of the
features that make Cocoa programming such a joy. Heck, in many cases I
can even just type a message-name that I *think* should be there,
without actually knowing the class in question, and golly-gee-whiz that
is exactly what it is called. No wizards, just typing. And certainly
if you look at a message-name, it will almost always just tell you what
it does.
Incidentally, this is an important programming principle called
"intention-revealing-selectors", from Kent Beck's "Smalltalk Best
Practice Patterns", though I am sure others have come up with this
independently. Adopting this *naming* convention is probably one of
the most important steps towards writing good code, IMNSHO.
The reason for this is that it focuses your mind on *intentions*,
instead of implementations. I could explain further, but you probably
don't want to hear any of this "crap" anyway.
Regards,
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.