• 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: Classes and the Production of Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classes and the Production of Objects


  • Subject: Re: Classes and the Production of Objects
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 10 Aug 2002 15:06:04 +0200

Beware: technical note, not really neeeded to understand the thing, perhaps even contrary (too detailed, it might blur the whole picture).

On Saturday, August 10, 2002, at 02:16 , Ondra Cada wrote:

In other words, classes can *not* (to my knowledge) act upon "-" methods,
and objects can *not* (to my knowledge) act upon "+" methods. They're separate.

Do please call those "objects" of yours instances, for that's what they are (classes are objects too). But for this, precisely. Those sets of methods are completely separate.

Nevertheless, if you want to hear the whole truth: they are *not* completely separate for a root class -- a class "inherits" its root _instance_ methods. It's somewhat difficult to grok, but kind of natural -- since classes are objects, they have to behave as ones, and generic object behaviour is pretty much defined by the root instance methods. Don't ponder too much: forget this freely, for a newbie would never implement a root class.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Re: Classes and the Production of Objects (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: OFF TOPIC: Success with shareware
  • Next by Date: Re: FTPClient Beta Released - Please test
  • Previous by thread: Re: Classes and the Production of Objects
  • Next by thread: Re: Classes and the Production of Objects
  • Index(es):
    • Date
    • Thread