About KCP and automatic initialize
Lukas Renggli
renggli at hotmail.com
Tue Sep 9 11:25:05 UTC 2003
> So we would like to know what other people think about that. Please
> think that we ***really*** pay attention of Squeak and that this is
> not "another stuff of these researchers" because we have much more
> exciting stuff that will never go in Squeak. This is just to catch up
> with the mistakes of the past.
I like the idea to get that included into the base image!
Browsing trough some images of recent Squeak (and VW) projects showed
that I've added the messages #new and #initialize to about all my
classes that are direct subclasses of Object.
I don't see a reason why not to re-factor this, remove that ugly
duplicated code and that source for bugs: I do remember several times
when I accidentally wrote 'self new' instead of 'super new' or when I
misspelled the message-name #initialize.
new
^super new
initialize;
yourself
initialize
I hope that this is the last time, I've ever written those lines ;)
Lukas
--
Lukas Renggli
http://renggli.freezope.org
More information about the Squeak-dev
mailing list
|