Pinku Surana | 30 Apr 13:50

Namespaces

What is the current state of namespaces in Squeak? Is there a programming convention to prevent name clashes?
 
Thanks.
 
_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Herbert König | 30 Apr 15:05

Re: Namespaces

Hello Pinku,

PS> What is the current state of namespaces in Squeak? Is there a
PS> programming convention to prevent name clashes? 

many discussions in the past, see the archives of squeak-dev, one
proposal from Göran Krampe (SqueakMap package loader, namespaces),
work in progress from Michael van der Gulik as part of his work on a
secure Squeak (project secure Squeak on Squeaksource).

Otherwise everybody either has his own conventions or the names just
don't overlap.

--

-- 
Cheers,

Herbert   

Re: Namespaces

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.
 

_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Bert Freudenberg | 30 Apr 17:26

Re: Namespaces

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.
>

Re: Namespaces

I apologize, I meant prefixes and not suffixes.

Miguel Cobá

On Wed, Apr 30, 2008 at 10:26 AM, 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.

_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Michael Davies | 1 May 14:52

Re: Namespaces

On Wed, Apr 30, 2008 at 12:53 PM, 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?
>

There's a manually maintained list at
http://wiki.squeak.org/squeak/3318 that may be helpful.

Re: Namespaces



On Wed, Apr 30, 2008 at 11:53 PM, 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?
 


Sorry for the slow reply. I haven't been on this list much lately.

I'm actively developing a "proper" Namespaces solution that runs on Squeak; the tools currently work although they're pretty rough, and I'm currently writing tests and fixing bugs. See http://gulik.pbwiki.com/Namespaces and http://gulik.pbwiki.com/Packages for more info.

Why do you ask?

Gulik.

--
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/
_______________________________________________
Beginners mailing list
Beginners <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Gmane