On Sat, Mar 20, 2010 at 10:10:10AM +0100, Bert Freudenberg wrote:
> On 20.03.2010, at 09:46, Alex Schenkman wrote:
> > Hi List!
> >
> > I'm playing with class variables. How should I initialize them?
> > I've tried with the class method initialize but it does not do the job.
> >
> > Pirulo class>
> "Alex" == Alex Schenkman writes:
Alex> Bert your are super!
Alex> * never call "super initialize" on the class side
Alex> Why? I thought it was "polite" to do it, =)
It breaks things by double initializing them.
The code loaders run initialize automatically. So when the parent
class wa
Bert your are super!
* never call "super initialize" on the class side
Why? I thought it was "polite" to do it, =)
On Sat, Mar 20, 2010 at 10:10, Bert Freudenberg wrote:
> On 20.03.2010, at 09:46, Alex Schenkman wrote:
> > Hi List!
> >
> > I'm playing with class variables. How should I initial
On 20.03.2010, at 09:46, Alex Schenkman wrote:
> Hi List!
>
> I'm playing with class variables. How should I initialize them?
> I've tried with the class method initialize but it does not do the job.
>
> Pirulo class>>initialize
> super initialize.
> myClassVar := Dictionary new at: 'one'
Hi List!
I'm playing with class variables. How should I initialize them?
I've tried with the class method initialize but it does not do the job.
Pirulo class>>initialize
super initialize.
myClassVar := Dictionary new at: 'one' put: 1.
Thanks in advance!
_