help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: [RFC] Smalltalk scripting syntax


From: Mike Anderson
Subject: Re: [Help-smalltalk] Re: [RFC] Smalltalk scripting syntax
Date: Thu, 15 Mar 2007 21:07:46 +0000
User-agent: Thunderbird 1.5.0.8 (X11/20061025)

Paolo Bonzini wrote:
> If so, there is a good reason, and it is that class variables
> are misused 99% of the time.  Class variables are *global* variables
> visible to a hierarchy and, as such, they should be used as little as
> possible.  When implementing a singleton, for example, what you *really*
> want is a uniqueInstance class-instance variable.

Apparently the writers of our class library didn't understand this.

Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]