[squeak-dev] re: About classVariables

Craig Latta craig at netjam.org
Fri Oct 17 20:54:04 UTC 2008


Hi Nicolas--

 > > > ...the example I provided sounds very misleading (a bug?):
 > > >
 > > > UndefinedObject class allClassVarNames includes:
 > > > #ObsoleteSubclasses.
 > > >
 > > > which is a class var of Behavior...
 > >
 > > (UndefinedObject class) is an instance of Metaclass, and Metaclass
 > > is a subclass of Behavior, so I would expect Behavior's class
 > > variable names to show up in a list of all the class variables names
 > > for (UndefinedObject class).
 >
 > Well not exactly... I make a parallel reasoning:
 >
 > nil is...

      Oh, I didn't realize you were really interested in the class 
variables of nil. :)  I'd expect the class variables of nil to be those 
of UndeclaredObject, not of (UndeclaredObject class).

 > > I swear I'm getting real work done. ;)
 >
 > Oh yes, this thread is really bound to be unproductive. You do not
 > need to answer this!

      Heh. To atone for it, I wrote a separate message about the design 
of Naiad, Spoon's module sysem. :)


-C

--
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]




More information about the Squeak-dev mailing list