[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1
From: |
Ingo Ruhnke |
Subject: |
Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8 |
Date: |
09 Sep 2002 12:37:30 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
David Philippi <address@hidden> writes:
> On Sunday 08 September 2002 01:33, address@hidden wrote:
>> - we probally need to change to something like NS_blabla, everything else
>> just leads easily to conflicts (at least in the worldmap/)
>
> NS_ looks terrible. It's more a question of getting the right names
> for the stuff. Who says that classes may not be renamed?
Well, namespaces simply collide always with other classes. For example
namespace WorldMap collides with class WorldMap and I couldn't find a
way to rename WorldMap to something usefull (appending an 's' doesn't
help, since there is only one WorldMap). Lowercasing namespaces
doesn't help either, since than you get collisions with variables. And
always writing around these collision is not really what namespaces
where meant for, they where meant to avoid collisions, not to create
some. NS_ look quite ugly, but well it would simply work.
> BTW why did you change Pingus to NS_Pingus? I thought it was agreed
> to remove namespace Pingus since it's not really usefull.
I am just playing around with what looks good and what doesn't and as
I found the switch to disable indention of namespaces I don't care any
longer about that problem ;)
--
WWW: http://pingus.seul.org/~grumbel/
Games: http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden
ICQ: 59461927
- Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8, David Philippi, 2002/09/09
- Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8,
Ingo Ruhnke <=
- Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8, David Philippi, 2002/09/09
- Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8, Ingo Ruhnke, 2002/09/09
- Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8, David Philippi, 2002/09/10
- Prev by Date:
Re: [Pingus-CVS] CVS: Games/Pingus/src surface_button.cxx,1.12,1.13
- Next by Date:
Re: POTFILES, snprintf and key_helper compilation errors
- Previous by thread:
Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8
- Next by thread:
Re: [Pingus-CVS] CVS: Games/Pingus/src story.cxx,1.7,1.8 story.hxx,1.7,1.8
- Index(es):