About KCP and automatic initialize

ducasse ducasse at iam.unibe.ch
Wed Sep 10 07:59:24 UTC 2003


On Mercredi, sep 10, 2003, at 06:32 Europe/Zurich, Richard A. O'Keefe 
wrote:

>
> I've forgotten, is there any reason to prefer
>     ^super new initialize
> to  ^self basicNew initialize
> The latter has the advantage of not repeating super initialize.
>
>

But you lose the actions done in new in the superclasses.
basicNew shortcut all of them so there are situations where you cannot 
use it.



More information about the Squeak-dev mailing list