Hello everybody,

Am Dienstag, den 12.08.2008, 03:04 +0200 schrieb Etienne Kneuss:
[...]
> To me
> 
> namespace A {
>    code
> }
> 
> namespace B {
>    code
> }
> 
> code
> 
> seems equivalent to
> 
> namespace A;
> code
> namespace B;
> code
> namespace <none>;
> code
> 
> Only nicer. And I can hardly how it's going to cause more problems?
> But if that's so, fine.
[...]

Just one thing: we developed around 50.000 lines of code with the
current namespace syntax and it was neither confusing nor inconsistent
to use. I'm very happy with the current syntax and I would like to just
leave it as it is.

Also I'm really against the curly braces: the issue is, that we would
indent the single class in the file then as otherwise the sense of
braces would be caricatured: we indent to make sure we can easily
distinguish control structures. But if we indent the content of a
namespace, we will have less characters until the magic 80-100 character
border and therefore we will have linebreaks in conditions which makes
them hard to read.

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to