Bert Freudenberg | 30 Apr 17:52

Re: Namespaces

You should reserve tongue-in-cheek remarks for the dev list. Beginners  
tend to take advice literally.

The convention is to use prefixes.

There have been proposals (and working implementations) to reify the  
prefixes so you could write My::Class instead of MyClass (and possibly  
omit the "My::" part). However, no proposal has been adopted yet.

- Bert -

On 30.04.2008, at 17:33, Marcin Tustin wrote:

> Thus making suffixes an excellent choice.
>
> On Wed, Apr 30, 2008 at 4:26 PM, Bert Freudenberg <bert <at> freudenbergs.de 
> > wrote:
> Prefixes are much more common. Actually, I have never seen anybody  
> use suffixes.
>
> - Bert -
>
>
> On 30.04.2008, at 17:18, Miguel Cobá wrote:
>
> For the time being, just add a suffix to all your classes, group  
> them in packages and pray anybody use the same sufixes/package names
> :)
>
> On Wed, Apr 30, 2008 at 6:53 AM, Pinku Surana <suranap <at> gmail.com>  
> wrote:
> What is the current state of namespaces in Squeak? Is there a  
> programming convention to prevent name clashes?
>
> Thanks.

Gmane