Hi!

> Step 1:
> I create a patch with the new aliases.

I don't see much wrong with old names - nobody remembers those names
anyway, and once you use IDE or - for people that still type PHP code by
banging two rocks together, like I sometimes do, the manual - it doesn't
matter whether there is underscore there or not. Nobody expects those
functions to read like a fine prose anyway :)

> Step 2:
> Merge the changes with next minor release of PHP 7.x.
> Soft deprecation of old function names in the manual.

There's no reason to either soft or hard deprecate old names. There's
nothing wrong with these names or the code that uses them. Forcing
people to change their code just because somebody likes names with
underscores better is plain wrong. Believe me, there's plenty to do with
any large PHP codebase project besides doing pointless changes like
this. Especially if you want codebase that works from 5.5 to 7.x and
beyond (and yes, that happens). Of course, if you like new names better,
and they are introduced, you are welcome to use them, but that's as far
as it should go.

I am still kinda skeptical on the cost/benefit ratio, given how many new
names are added, but maybe it's ok if people like it. But names already
used in code should stay.

-- 
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