Re: Consistent function names
| From: | Yasuo Ohgaki | Date: | Sat, 07 Mar 2015 01:39:31 +0000 |
| Subject: | Re: Consistent function names | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84393@lists.php.net to get a copy of this message | ||
Hi Pierre,
On Sat, Mar 7, 2015 at 7:18 AM, Pierre Joye <pierre.php@gmail.com> wrote:
> > Please suggest better/right way. Having namespace is not alternative for
> > having consistent names.
>
> I think I did, and many other. But you seem to be convinced that
> consistency in names is the top priority and will suddenly make these
> APIs easier to use. I think we should agree to disagree and move to
> vote. I do not see any value in this discussion since quite some time,
> it is hair splitting solutions for naming, namespace, etc while not
> having an agreement on how and where to do it, except the std C names.
I agree namespace can be used to fix naming/parameter issues with zero BC.
What I'm saying here is
We need new name function (and documentations/codes update) anyway
We may provide new names and new parameter order in new namespace.
The difference is "alias" or "namespace" basically. I don't object to use
namespace for it at all. In fact, I would love to have it even if there is
issue
like writing extremely difficult to read code is possible.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net