Hi Larry,

Am 05.12.2007 um 18:09 schrieb Larry Garfield:

Finally, another important reason for us to not use namespaces is the
lack of available refactoring tools.
Imagine you want to rename a class "T3_Cool_Fancy_Stuff" to
"T3_Cool_Fancy_Tool". A global search / replace
and renaming the class file will usually do - if you use the full
class name everywhere. However, just trying to
search and replace "Stuff" will probably break your code.

How can there be "available refactoring tools" that account for namespaces when released PHP doesn't have namespaces yet?

yes, of course you're right, it's always a chicken-and-egg problem. I was talking from my PHP user's perspective here .... However, since I didn't stumble over any satisfying refactoring tool for PHP yet, I don't have much hope that this will
change soon.

Anyway, lack of tools is of course not an argument to add namespaces support or not.
But it is one for using it or not.

robert
--
http://typo3.org/gimmefive
http://buzz.typo3.org/people/robert-lemke/

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

Reply via email to