• 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: obj-c functions versus class methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: obj-c functions versus class methods


  • Subject: Re: obj-c functions versus class methods
  • From: Gregory Weston <email@hidden>
  • Date: Wed, 10 Mar 2004 19:16:25 -0500

On Mar 10, 2004, at 17:50, Mark Eissler wrote:

In the grand scheme of things, what is the practical difference between
implementing functionality in a plain C function versus an obj-c class
method? Don't they accomplish the exact same thing except the latter
associates the functionality very specifically with a particular group
of functionality?

The biggest real difference - leaving aside debates one could get into about design - is probably that the class is itself an object. self has meaning inside a class method.
_______________________________________________
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.


  • Prev by Date: Re: setFrameAutosaveName question
  • Next by Date: Re: Wisdom of overriding isEqual:
  • Previous by thread: Re: obj-c functions versus class methods
  • Next by thread: Re: obj-c functions versus class methods
  • Index(es):
    • Date
    • Thread