It seems that in contrast with a lot of people on this list, I don't preach a "standard" way of doing things. What I do believe is that, in the end, it is the programmer's choice. I for one won't use namespaces that much if I can't have more than one in the same file. Using an inductive logic, I guess we can say a lot of PHP developers would like to have the choice, too. I believe we should stop trying to find a "solution" to a problem that should not be solved by us in the first place.
Let it be my choice, however right or wrong it may seem, to obey the standard which seems fit to me, thank you. P.S.: This opinion only applies to this particular case. Generally speaking, I'm all for a loosely defined "PHP way". On 7/8/07, Sebastian Bergmann <[EMAIL PROTECTED]> wrote:
Nicolas Bérard-Nault schrieb: > +1 for braces around namespace definition. -0 on that, because there is no clear "standard" with regard to how other programming languages solve this. Java does not require braces with its "package" construct [1] and C# does for its "namespace" construct [2]. -- [1] http://java.sun.com/docs/books/jls/third_edition/html/packages.html [2] http://www.jaggersoft.com/csharp_standard/8.12.htm -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- Nicolas Bérard-Nault ([EMAIL PROTECTED]) Étudiant D.E.C. Sciences, Lettres & Arts Cégep de Sherbrooke Homepage: http://nicobn.googlepages.com