Hi!

> That said, I'm not sure that function autoloading will be that big of a 
> carrot 
> for the major projects at this point.  Wordpress is going to ignore anything 

If they pay for that is to edit every single file that uses global
functions (which is all of them) or suffer a hailstorm of warnings then
I don't think any carrot would be large enough for this. And, frankly,
the amount of cases where I absolutely needed namespace function
autoloading and couldn't do without it (like, using classes) I probably
could count on the fingers of one hand, and I still could type while
doing it.

I mean, I don't necessarily have anything against adding this feature,
but if the progression goes from "we need namespaced functions" to "we
need namespaced autoloaded functions" to "we can't use strlen without
ridiculous prefixing or adding "yes, I still want strlen" in every file
every time" then I'd rather not have namespaced functions at all than
deal with that.

> outside of very specific libraries (such as functional tooling libs).  So 
> "yay, 
> you can now autoload namespaced user-defined functions" will likely be met 
> with 
> a lot of "what are those?"

It won't be just "yay, you can now autoload namespaced user-defined
functions", it would be "yay, all code that uses strlen is not throwing
noisy warnings, but on the other hand, we made this obscure feature you
never used easier, so rejoice!" I wouldn't rejoice.
-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to