Squeak and Namespaces

Bert Freudenberg bert at freudenbergs.de
Fri Dec 1 10:26:19 UTC 2006


On Dec 1, 2006, at 8:49 , Göran Krampe wrote:
>> download some project that uses your namespaces a lot, and it  
>> happens to
>> define Array.  Now my entire image has "Kernel::Array" everywhere,  
>> right?
>
> Well, first of all I mistakenly said in one post that the basic image
> would use the Kernel:: space. That was wrong (it has been a while  
> since we
> discussed this before and my memory needed some kickstarting) - I  
> instead
> advocate basic classes to continue being in the current global  
> space (=no
> prefix).
>
> And given that - then no, it would still say Array.

But if I have my own Array class it would then always show as  
My::Array, to be distinguishable from the core Array, right?

- Bert -





More information about the Squeak-dev mailing list