• 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: passing a method name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing a method name?


  • Subject: Re: passing a method name?
  • From: Dave Carrigan <email@hidden>
  • Date: Sun, 20 Dec 2009 15:39:08 -0800

On Dec 20, 2009, at 3:29 PM, Graham Cox wrote:

> I think what the OP was talking about was making a called method sensitive to its caller, which is a no-no.


That's what I thought the OP was saying, and I agree. It would mean that doing a refactor and changing a method's name, or even adding a new parameter to a method, would break the code in some unrelated method. That's a huge maintenance problem.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

_______________________________________________

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

References: 
 >Re: passing a method name? (From: Jeffrey Oleander <email@hidden>)
 >Re: passing a method name? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: passing a method name?
  • Next by Date: Re: NSTableview datasource issues
  • Previous by thread: Re: passing a method name?
  • Next by thread: Re: passing a method name?
  • Index(es):
    • Date
    • Thread