Re: Classes and the Production of Objects
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.