Where does "class new" come from?
Klaus D. Witzel
klaus.witzel at cobss.com
Tue May 16 17:44:56 UTC 2006
on Tue, 16 May 2006 19:32:40 +0200, you
<moehl at akaflieg.extern.tu-berlin.de> wrote:
> this might be a stupid question but where does the "new" class method
> from for object instantiation because I could find it neither in Object
> nor in ProtoObject.
No, this is not a stupid question.
> I just wanted to find out where "initialize" is called
> and what else might be done at object creation but now I'm completely
In pre-Traits images this can bee seen with (Object class lookupSelector:
#new) who, nowadays this can be seen with (Object class lookupSelector:
#new) methodClass -> (Object class lookupSelector: #new) selector.
> Cheers, Torsten
More information about the Squeak-dev