2008/10/27 Cristian Rodríguez <[EMAIL PROTECTED]>:

> Im truly sorry, looking at the horrendously ugly example code, I just
> hope the average joe programmer dont touch this feature and stay with
> class prefixes for sanity sake.

If by "don't touch" you mean "don't even try" then I'd say it's not a
very good advice.

I've tried Greg's patch [1] the day this thread was created. Even if I
wasn't terribly happy with the choice (still beats the triple-colon in
my opinion, though), even if I had to spend half an hour to convert my
files to the new namespace separator (that's why it's called the
"bleeding" edge I guess) and even if the first few minutes were
uncomfortable, I'm now 36 hours after committing the changes to my
personal code repository and the backslash doesn't even feel weird
anymore. You just have to use it.

It took a while to get used to PHP 5's object model, it will take a
while to get used to PHP 5.3's namespacing.

-JD

[1] http://wiki.php.net/rfc/backslashnamespaces#patch

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

Reply via email to