My namespace proposal described in Yet Another Try

Chris Muller asqueaker at gmail.com
Fri Oct 5 01:48:25 UTC 2007


Because the default image makes me type the longer prefixes.  Göran's
proposal allows me to just type (and read) the "local" names.

It's really nothing more than delineating the prefix so the tools can
make it easier for the human.


On 10/4/07, Jason Johnson <jason.johnson.081 at gmail.com> wrote:
> 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