About KCP and automatic initialize

Alexandre Bergel bergel at iam.unibe.ch
Mon Sep 15 20:27:55 UTC 2003


> During the transition period, we'd have a lot of really ugly code 
> written by people who want to have their package work in both the old 
> system and the new system. Remember all the little work-arounds to 
> avoid deprecation warnings? This will be worse:

There is a kind of inconsistency in Squeak, if my class inherit from Object, there is no initial constructor, whereas if my class inherit from Morph, then the method initialize is called.

The message #initialize should be sent whenever an object is created, the programming language presented  Squeak has to evolve, to grow up...

Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list