Re: Consistent function names

From: Date: Thu, 05 Mar 2015 23:59:45 +0000
Subject: Re: Consistent function names
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-84371@lists.php.net to get a copy of this message
On 5 March 2015 23:22:35 GMT, Arvids Godjuks <arvids.godjuks@gmail.com> wrote: >Why not take advantage of namespaces and do the new API, building it up >version by version (sure it can't be done in one go), so probably the >extensions gonna follow too. >That allows you to use as OO interface, so do the functions. Well, yes, >it >will be under a namespace, but at least new projects can be started >that >way. And old code will be easy enough to port, it's mostly a question >of >refactoring tools. Like everything else in this thread, this has been suggested before. The biggest problem is that both codebases and programmers have to work with more than one version of PHP at a time. A constantly moving target of slight variants of the same functions will be much harder to work with than a stable and well-known one which happens to have some unfortunate quirks. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#84371) next »