[GOODIE] Namespaces-gk

stéphane ducasse ducasse at iam.unibe.ch
Thu Apr 15 19:19:10 UTC 2004


On 15 avr. 04, at 20:57, Avi Bryant wrote:

> So, looking through the code, one thing that strikes me as overly 
> complicated is all the various modifications around renaming.  Why are 
> they necessary?  I guess so that you can update the 'environment' 
> instance variable, but then, it's unnecessary too - why can't the 
> namespace of a class be a dynamic lookup?
>
> Class>>namespace
>   ^ Namespace namedOrCreateForName: self name
>
Hi avi

why not using environment? This is why we started to removed all the 
hardcoded reference to smalltalk from the kernel and as soon as 
3.8alpha starts I'm planning to do a major cure of the image.

Stef




More information about the Squeak-dev mailing list