A little namespace "proposal"
stéphane ducasse
ducasse at iam.unibe.ch
Tue Apr 20 06:35:49 UTC 2004
>> I have another question concerning the difference you want to do
>> between environment and namespace. I do not understand why we could
>> not
>> only use #environment to get the namespace of the class. Else we will
>> have two concepts that are not the same but not different.
>
> Well, IMHO right now we have only a half concept. Environment as it
> looks today isn't usable AFAIK. But I agree.
Hi goran
I was not talking abou thte class environment but the method
environment and the instvar (if there is one).
>
>> as a class know its environment this is the perfect place to hook the
>> namespace.
>
> And it is what my first code that I published also does.
Ok sorry I got no time to have a look at it in this moment.
>
>> If this is not the case I would really like to understand.
>
> Well, one reason not to use it is if the code actually is healthier
> without that instvar altogether. I don't know the answer to that yet.
> My
> current code just reuses it as you say.
Ok this seems good to me.
>
>> Stef
>
> regards, Göran
>
More information about the Squeak-dev
mailing list
|