Aug. 6, 2010
1:08 a.m.
What makes me admired, is that smalltalk (and its family) is maybe a sole language, where behavior and properties of "undefined object" is well defined, and what more important can be changed. Unlike C++, for instance, where NULL (or nil pointer) is nothing else, but a plague for developers :) In Squeak, i think the 'root' references to the nil, true, false is stored in special objects array, due to VM implementation. At language side, they can be retrieved using #initializedInstance (if i remember correctly) message, sent to corresponding class, or directly from special objects array (but that will be dialect specific). -- Best regards, Igor Stasenko AKA sig.