Hello Stanislav, Thursday, August 16, 2007, 7:13:45 PM, you wrote:
>> Read the purpose of both, which restrictions/limitations both have, >> how are they defined, how are they used, etc and you'll see if the >> current implementation is more like 'namespace' or 'package'. It's not >> related to package Java, namespace C, def, zendspace of whatever. > That's what I am trying to explain for a week now and still failing. Wrong!!!! You started to defend the current state with a non existing JS feature. And then you found a wiki page. Wow now wiki is the all-knowing-trash-dump? > Namespace as a concept is not the same as implementation of namespaces > in C++ or Java. Packages as a concept is not the same as implementation > of packages in Java, Perl, C or PHP. PHP is neither C++ not Java. > Choosing which language to mimic - Java or C++ - is not the right way to > think about the problem. PHP is separate language, not C++ or Java. Just > because C++ has + and PHP has + doesn't mean PHP should have operator > overloading. Just because PHP has multi-component names and Java has > multi-component names doesn't mean namespace definition operator should > be the same keyword. That's what I'm trying to explain - the choice is > not "should we be like C++ or like Java". We may end up being like it - > or not, but it is not the choice we have. So going with existing expectation is good or bad? And then if there are two things, The concept and the implementation. Wouldn't it make sense to not use the marking relevant one in the implementation and instead use package in the implementation as that is what we are implementing. At least when looking at the code and its behavior. And then use the damn word 'namespaces' in PR material? Oh and don't forget your namespace wiki matches both concepts. The concept of namespace in existing languages (with nesting and stuff) and the package stuff which is limited to one per file. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php