Hello Lars, Tuesday, August 12, 2008, 8:50:16 AM, you wrote:
> 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. So you are saying that the current namespace is not a control structure? And you are also saying that we are python where whitespace has a semantical and syntactical meaning? I am sorry but I have written hundreds of thousands of lines of C++ code and read even more and hardly anyone uses indentation, simply because it has no additional meaning. And if 80 chars still is an issue for you, then I'd suggest to get a decent monitor. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php