Namespaces (was: Re: [ANN]A plan for 3.8/4.0... (insert drumrollhere))

Peter van Rooijen peter at vanrooijen.com
Mon Apr 5 09:24:35 UTC 2004


From: "Andreas Raab" <andreas.raab at gmx.de>

Hi Andreas,

Good to be active on namespaces. Two quick questions.

> This makes ClassBuilder barf about "Object inheriting from Object"
> although -by the context provided through the namespace-aware browser- it
> should be clear that I am in an entirely different namespace where
"Object"
> isn't "Squeak::Object" ("Squeak" is the name of the "root namespace",
> aka Smalltalk.

Why is the root namespace called Squeak/Smalltalk, and not 'Root'?

Why isn't the root namespace the one that defines nil, true and false?

- Peter

> So one of the things that still need to be fixed is that the
> namespace is part of the "compiler attributation" rather than being used
> (such as in ClassBuilder) via the superclass' environment.
>
> BTW, if you're interested in this I can send you a link to the relevant
> code.
>
> Cheers,
>   - Andreas




More information about the Squeak-dev mailing list