On 07/09/12 18:24, Mark wrote:
To me this namespace in php stuff just looks like and alias. So why
isn't it named as that: "alias"? I do not want to question the ones
that implemented namespaces in php, but i do think that the name
itself is at the very least confusing.
Namespaces, like in C++, mean you can reference classes etc from other
modules without name conflicts, yet not have to type gl_ or zend_ or
whatever in front of every single name when writing code within that
module, and that's about it.
Yes, the behaviour is different, but they are still namespaces. Them
being different from C++'s shouldn't be a surprise, C++ is quite a
different language.
--
Andrew Faulds
http://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php