At 20:29 02.06.2003, Andi Gutmans wrote:I strongly disagree. Please re-read the original thread to see our arguments against yours.
There were no arguments just some sentences (from Zeev iirc) stating that it can't work and that i am expecting something else. Since i don't see problems with my idea of import that might be the case with the import we had.
A possible problem are variables. And two hash lookups sucks too but that's bearable.
Some of them are: - Problem with import.
See above and please reread my original mail because i did some technical explanation on this topic there already.
I read it and I don't think it's good. I'd expect imported functions to at least take precedence or cause an error if a function with the same name is defined in current symbol table. Your solution always puts them second. You might not agree but you can see it's not as simple as you claim.
- Problem with variables.
All solveable. And the problems are with import only (afaik) so we could drop support for importing variables later when adding import.
When you create a variable how do you know where to create it?
- Enterprise applications including UML tools have been written without namespaces (I have taken part in quite a few such projects including Rational (IBM) Rose).
Whatever they had in mind. Rational comes from a Java perspective where you have packages as a grouping mechanism. PHP now has neither.
If you have created so many enterprise apps with Rose then you should be aware that it works with C++ and that's what I used it with. C++ without namespaces. Rose was around (and I've been using it) *long* before Java was around. Rational does definitely not come from a Java perspective on this one.
I am confident that one can write enterprise applications without namespaces. You're making a mountain out of a mole hill.
Perhaps :-) I wanted to stress out what we lack and make clear that all problems
could be solved.
Again I disagree.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php