Question about initialize
Ryan Zerby
tahognome at gmail.com
Tue Nov 23 17:02:17 UTC 2004
Does this mean that:
foo := Foo new initialize.
is calling the initialize method twice?
On Tue, 23 Nov 2004 12:03:24 +0100, Marcus Denker <denker at iam.unibe.ch> wrote:
>
> Am 23.11.2004 um 11:48 schrieb Joseph Frippiat:
>
> > Hi,
> >
> > What is the utility to have 2 initialize methods, one for the class
> > and one
> > for the instance. When are they called ?
> >
> >
>
> The instance initialize is called when instanciating the class (new
> sends
> self initialize).
>
> And the class-side initialize is called when fileing in a changeset
> or loading
> a monticello package.
>
> Marcus
>
>
More information about the Squeak-dev
mailing list
|