logo       

Re: Metaclass hierarchy - Explanation - Part 1: msg#00251

lang.smalltalk.squeak.beginners

Subject: Re: Metaclass hierarchy - Explanation - Part 1

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise