Re: Consistent function names
| From: | Markus Fischer | Date: | Mon, 02 Mar 2015 23:36:28 +0000 |
| Subject: | Re: Consistent function names | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84207@lists.php.net to get a copy of this message | ||
On 03.03.15 00:10, Yasuo Ohgaki wrote:
> I would love to have new & clean APIs.
>
> Please think my proposal as legacy API cleanups. Many of candidates will
> remain
> without CORDING_STANDARSDS confirmed names almost forever. This is what
> I would like to improve. If you don't care about legacy stuff cleanups,
> please don't
> care. The cleanups will not hurt anything, almost.
No ill intentions here, but adding the aliases and, as you propose,
literally adding *hundreds* of aliases is actually a mess to me.
What you call "new & clean" is as a shield for effectively introducing
duplicates. You do not clean up anything that way. You leave a even
bigger mess behind. By going for your honorable goal of correcting
things I think you got lost in the woods.
IMHO the only forward is to make sure new/future additions to the
language adhere to the coding standard or use a smart way (i.e. the
scalar addition).
- Markus