Re: passing a method name?
Re: passing a method name?
- Subject: Re: passing a method name?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 22 Dec 2009 21:28:16 -0600
On Tue, Dec 22, 2009 at 5:22 PM, Graham Cox <email@hidden> wrote:
> This is exactly the sort of code smell we were always on the look out for at code reviews, and it was always avoidable. In every case, the revised code was more elegant, maintainable and straightforward. I don't believe there is a genuine case where it would be more "natural and elegant" to do this than to take a more conventional approach. I'm also unaware of any part of Cocoa doing this.
See -[NSControl tag] for an example of where it's done in Cocoa.
--Kyle Sluder
_______________________________________________
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