Foundation question

Mats Nygren nygren at sics.se
Wed Jul 12 16:29:25 UTC 2000


Les Tyrrell <tyrrell at canis.uiuc.edu> wrote:
> Ned Konz wrote:
> > 
> > Ned Konz wrote:
> > 
> > > When you define a class, you're actually adding two objects to the
> > > system:
> > > the class (which is an instance of Class), and the metaclass (which is
> > > an instance
> > > of Metaclass). So,
> > 
> > Sorry, I was wrong about that. See Les' reference... It's been a while
> > since I Smalltalked...
> 
> I've been Smallalking for years, and to be quite honest I still don't
> know how it is actually possible for 'Dictionary class' to be a subclass
> of Class. I look at the instance variables and it is just a bit freaky.
> I've been meaning to look into that in more detail someday- I'm sure
> that I'm not looking at it right.

I think the design itself is confusing.
Take a look at "Object Oriented Programming the CLOS perspective" ed. by
Paepcke, the excellent chapter 9, by Pierre Cointe, is about this.

/Mats





More information about the Squeak-dev mailing list