On Mon, 27 Oct 2008, Thomas Lee wrote:

How would delyaing it help?

I agree, delaying will not help (and namespaces are the most expected feature in PHP 5.3).

If we could have made :: work, we would have. Greg (and others) spend countless hours trying out different concepts, with different pros and cons -- you can find those on the wiki as RFCs.

But what is the purpose of namespaces? To give developers their own separated space. And it is their responsibility to not use ambiguous names. PHP has not problem with class Foo::Bar and namespace Foo::Bar, but coding standards usually prohibits it.

Developers are not stupid. I think there is no reason to PHP trying be smarter than them.

(I know, this is kind of philosopher argument, but the same thinking works in C++ well).

The only way how
all issues could be solved was by picking a different namespace separator. There would have been anything that could have changed this without creating any sort of BC issues. From the possible namespace separators, \ was the best one as we could see. That's how it is, that's

I will be glad for each separator, but :: is the best one :-))

David Grudl

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to