LineMorph class

stéphane ducasse ducasse at iam.unibe.ch
Wed Aug 31 20:15:33 UTC 2005


I did not check the code.
     initialize on the class initialize the class itself (this method  
is invoked at load-time of the class).
     so
     in new
             super new initialize

     this is not the initialize of the class side but of the instance  
side that is invoked (since super new returns an instance of the class).

Hope it helps.

Stef

On 31 août 05, at 18:00, Mariano Wahlmann wrote:


> Hi, my name is Mariano Wahlmann, i'm using Squeak3.8 and I have a  
> questions about LineMorph class:
>
> Why exists the new method as class method instead of having an  
> initialize method?. I ask this because if you want to extend this  
> class, you have to re-write new and initialize methods. Is this  
> maybe a bug?.
>
> Thanks
>
>
>





More information about the Squeak-dev mailing list