[Newbies] Re: Overriding methods

Lukas Renggli renggli at gmail.com
Sun Jan 20 17:46:52 UTC 2008

> Zulq> In VW, where initialize isn't called by default, I do this all the time:
> Zulq> new
> Zulq>   ^ self new initialize
> You mean "basicNew", unless you like infinite loops. :)

No infinite loops, but bad enough: you call #initialize twice for
every new object.


Lukas Renggli

More information about the Beginners mailing list