[Q]Overriding "new"
Martin Drautzburg
martin.drautzburg at web.de
Tue Mar 19 19:14:32 UTC 2002
What is the problem with overriding the Class method "new". Squeak
always warns me, and if I insist terrible things happen (low memory -
crash).
I was subclassing Array2D and I gave it a Class Method
new
^ super width:3 height:3
which was obviously a bad idea, but why ?
More information about the Squeak-dev
mailing list
|