Re: Alternative to multiple namespaces per file
| From: | Alain Williams | Date: | Sat, 31 May 2008 13:05:08 +0000 |
| Subject: | Re: Alternative to multiple namespaces per file | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38024@lists.php.net to get a copy of this message | ||
On Sat, May 31, 2008 at 03:51:25PM +0300, Stan Vassilev | FM wrote:
> Hi,
>
> The community wanted namespaces. This is not exactly the namespaces it wanted, but since
> they're going in, I think the best course of action is to solve the big obvious problems so
> they are at least usable and extendable in future versions of PHP.
>
> If you have to ask *me* personally, I'd not put namespaces in 5.3 and have a big
> discussion about the entire implementation. But alas.
>
> I think those "showstopper" problems with namespaces are:
>
> 1) one namespace per file (look at frameworks like Symphony which compile their classes
> together for performance, they will never be able to switch to, or support namespaces).
> ...
To which I would add: namespaces are not for variables, this I would like to see.
--
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>