[squeak-dev] Re: The Trunk: Network-ar.82.mcz
Bert Freudenberg
bert at freudenbergs.de
Thu Sep 2 11:19:05 UTC 2010
On 02.09.2010, at 13:00, Frank Shearar wrote:
> On 2010/09/02 12:45, Bert Freudenberg wrote:
>>
>> However, the registry should be a class variable not class inst variable IMHO.
>
> Network-fbs.86 does this.
>
> I'm not entirely sure what the difference is between a class variable and a class inst variable. I understand that the latter is an instance variable of the object "Foo class", but what's the practical difference between the two? When do you, or should you, use a class inst variable, and when not?
A class inst variable has a different value in each subclass. A class variable is shared between all subclasses.
- Bert -
More information about the Squeak-dev
mailing list
|