Re: Inconsistencies in 5.3
| From: | Lars Strojny | Date: | Tue, 12 Aug 2008 06:50:16 +0000 |
| Subject: | Re: Inconsistencies in 5.3 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39859@lists.php.net to get a copy of this message | ||
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: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc