On Mon, Jun 8, 2009 at 3:13 PM, Stéphane Ducasse <stephane.ducasse@inria.fr>wrote:
Hi
in http://code.google.com/p/pharo/issues/detail?id=135 may be stupidly I was thinking that it would be nice to check all the initialize methods that are not doing a super call, and fix them. Alain did this crazy and boring tasks and I was reviewing his code. Now I was wondering if it makes sense to add super initialize to the direct subclasses of Object.
I don'' understand why. If ProtoObject>>initialize is implemented like this: initialize "Subclasses should redefine this method to perform initializations on instance creation" why should direct subclasses of Object call super initialize? uniformity as you said ?
I have the impression that it is good for uniformity but we are calling an empty so we could do the following only fix the caller that are not subclasses of Object.
What is your point of view,
stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project