Re: Consistent function names
| From: | Rowan Collins | Date: | Mon, 02 Mar 2015 23:19:21 +0000 |
| Subject: | Re: Consistent function names | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84205@lists.php.net to get a copy of this message | ||
On 02/03/2015 22:59, Yasuo Ohgaki wrote:
Hi Rowan, On Tue, Mar 3, 2015 at 7:50 AM, Rowan Collins <rowan.collins@gmail.com <mailto:rowan.collins@gmail.com>> wrote:I agree. One difference is that new API is actually useful to people, whereas alias just adds to the confusion. Regards, -- Rowan Collins [IMSoP]On 02/03/2015 22:36, Yasuo Ohgaki wrote:I like scalar objects, but it does not resolve that PHP has non standard function names. It does not change old names, therefore it's impossible to resolve issue. This is the reason why I'm proposing while I like scalar object, use of namespace, etc.Again, you're contradicting yourself here - you can't say that your mission is to change the old names, rather than offer an alternative, but then also say that the old names will stay around forever. If both names exist, that's exactly what you've created - an alternative.I think there is big difference between new API and alias. Alias is just a copy, new API works differently.