>>>>> "magique" == magique poter <[email protected]> writes:

magique> Here is my interrogation:
magique> - in smaltalk, everything is object,
magique> - i create classes whith the browser (an object),
magique> - then there are objects in smalltalk that create classes.
magique> Question:
magique> - What are the keywords, the technologies I will have to deal with to
magique> create that kind of objetcts (object that create classes that I can
magique> then initialize to create instances)?
magique> - After lot of search, the thing I want to create seams to be a
magique> meta-object. But how do we do in practice?

Classes know how to create their own subclasses, by having subclassed
from Behavior.  Behavior-class is the meta-meta-object you seek,
instances of which will know how to create objects and subclasses.

In fact, the textual "class definition" (from the "instance" button in
the class browser) is nothing other than smalltalk code that creates
that class!  You can look up that method in Behavior class to see what
it does.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to