Re: my last attempt at sanity with namespaces
| From: | Derick Rethans | Date: | Thu, 16 Oct 2008 07:58:50 +0000 |
| Subject: | Re: my last attempt at sanity with namespaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41114@lists.php.net to get a copy of this message | ||
On Wed, 15 Oct 2008, Greg Beaver wrote:
> http://wiki.php.net/rfc/namespaceissues
>
> Read it and discuss. Let's be clear people: the technical problems in
> namespaces are limited and solvable. The problems in the political
> environment surrounding them may not be. Wouldn't politics be a
> stupid-ass reason to remove namespaces?
In short:
I'm for option #1 - and I would have to disagree with "con 1" there --
we shouldn't give a damn about what people did with unreleased code.
As for the internal classes resolving, I am not too keen on slowing down
internal classes access. Obviously, this is only going to be ab issue if
you use namespaces though. The bad thing I find about it is that this
resolving is done during runtime -- but I suppose that'd happen anyway
because of autoload().
A bit on the reasoning against option #2: Option #2 introduces a new
concept yet again. Namespaces are already a new concept, and trying to
make it even more confusing wouldn't serve anybody.
regards,
Derick
--
HEAD before 5_3!: http://tinyurl.com/6d2esb
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org