[Newbies] Metaclass hierarchy - Explanation - Part 1

Mathieu mathk.sue at gmail.com
Wed Aug 30 16:25:06 UTC 2006


Damien Cassou a écrit :
> Hi,
> 
> I would like to try explaining what is the metaclass hierarchy of
> Smalltalk. This is always something new smalltalkers have problem with.
> It would be interesting if an experienced smalltalker read this mail and
> correct it when I'm wrong.
> 
> 
> To understand this, you have to know the following three rules by heart:
> 
> 1) In Smalltalk, everything is an object
> 2) In Smalltalk, each object is an instance of a class
> 3) In Smalltalk, each class has a superclass but one called Object
>

You can use this link:
http://www.iam.unibe.ch/~ducasse/Teaching/CoursAnnecy/0506-M1-COO/07Metaclasses.pdf

I like the scheme, it help a lote to understand.

Math


More information about the Beginners mailing list