• 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: Returning a value from a function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a value from a function


  • Subject: Re: Returning a value from a function
  • From: Jason Stephenson <email@hidden>
  • Date: Tue, 08 Apr 2008 08:20:28 -0400

I. Savant wrote:
No, it's precisely accurate. While the meaning is clear in this case, failure to use proper terminology on a technical mailing list can cause confusion resulting in more noise and wasted time. A method is a method. A function is a function.

A method is simply a subclass of function, it being a functional member of an object. While I agree that saying method in this case is more precise than function, using the term function is still accurate.


Also, the answer to the OP's question had nothing to do with the function being a member of an object. The answer and question apply to the larger set of functions of which method is a member.


Drawing distinctions in cases where they are not needed is also a waste of time. As three of us have now wasted our time on this semantic discussion. ;)


Cheers,
Jason
_______________________________________________

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


  • Follow-Ups:
    • Re: Returning a value from a function
      • From: Alastair Houghton <email@hidden>
References: 
 >Returning a value from a function (From: Stuart Green <email@hidden>)
 >Re: Returning a value from a function (From: Bryan Henry <email@hidden>)
 >Re: Returning a value from a function (From: Mike Abdullah <email@hidden>)
 >Re: Returning a value from a function (From: Bryan Henry <email@hidden>)
 >Re: Returning a value from a function (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: How to add number do Dock Icon like in Mail?
  • Next by Date: Core Animation layer-backed NSViews and mouse handling
  • Previous by thread: Re: Returning a value from a function
  • Next by thread: Re: Returning a value from a function
  • Index(es):
    • Date
    • Thread