My namespace proposal described in Yet Another Try

Jason Johnson jason.johnson.081 at gmail.com
Thu Oct 4 17:55:41 UTC 2007


On 9/21/07, Ramon Leon <ramon.leon at allresnet.com> wrote:
>
> We use two letter prefixes because we're forced to see them and type them
> constantly, with Göran's proposal, it'd be much more common to use
> Magritte:: or Magma:: as the prefix since you wouldn't be typing it, it'd
> resolve naturally when you just used the short class name.  Granted this
> doesn't help existing packages with short prefixes, but it'd help new code.
> If it worked well, I'd sure take the time to rename my code to use it.

I have a question:  What is stopping you from using them right now
today?  Most of what you write is for private use, no?  If so you can
use namespaces until your hearts content.  You could even make scripts
to change Magritte and co to switch to the namespaces when loaded into
your image, so that you don't have to type the prefixes anymore.

Why do you need this to be in the default image to use it for private code?



More information about the Squeak-dev mailing list