logo       

Re: Re: Overriding methods: msg#00089

lang.smalltalk.squeak.beginners

Subject: Re: Re: Overriding methods

>>>>> "Zulq" == Zulq Alam <me@xxxxxxxx> writes:

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. :)

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise