On Namespaces...
| From: | Manuel V�zquez Acosta | Date: | Sun, 15 Aug 2004 15:55:16 +0000 |
| Subject: | On Namespaces... | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-12174@lists.php.net to get a copy of this message | ||
[Is this the right news?]
Recently I downloaded PHP 5.0.0 and read the RFCs, I sadly noticed that a
Namespace proposal was declined. Why? I've been using PHP for many years and
I've found problems when trying to "glue" several third parties codes.
PEAR has come with a not-quite-nice solution to this problem (e.g: class
HTTP_Request), and it works just fine; but I still think namespace would
help a lot.
I know there may be namespaces clashes, but it's far easier to replace just
a line of code - i.e the namespace decl; instead of having to replace each
clashing symbol all over the scripts.
Manu.