Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84428 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83006 invoked from network); 8 Mar 2015 09:59:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2015 09:59:49 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.214 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.214 mail4-2.serversure.net Linux 2.6 Received: from [217.147.176.214] ([217.147.176.214:53732] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/00-17427-19D1CF45 for ; Sun, 08 Mar 2015 04:59:48 -0500 Received: (qmail 19028 invoked by uid 89); 8 Mar 2015 09:59:11 -0000 Received: by simscan 1.3.1 ppid: 19014, pid: 19025, t: 0.0881s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.189.147.37) by mail4.serversure.net with ESMTPA; 8 Mar 2015 09:59:11 -0000 Message-ID: <54FC1D66.2080307@lsces.co.uk> Date: Sun, 08 Mar 2015 09:59:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <1FCB68B8-3E55-4B5D-B805-9D92D848A3A1@gmail.com> <5D8591E2-5AE6-4B4C-AAE0-3D15523410AC@gmail.com> <54F83C4D.1020206@gmail.com> <54F8BF67.6080600@gmail.com> <848D3C19-DE29-4E5F-9B23-D87D3F4A9365@gmail.com> <54FB45D6.3040803@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Consistent function names From: lester@lsces.co.uk (Lester Caine) On 08/03/15 01:15, Yasuo Ohgaki wrote: > Let's agree to disagree. Otherwise, discussion will be circular. > > I would like to keep/maintain legacy procedural functions forever. > You would like to replace/remove legacy procedural functions by OO like API > if it's possible. Discussions like this need to be on two levels. Creating a clean OO based API is like unicode, one of those things everybody wants, but no one has come up with the ideal solution to take it forward? I'd even include PDO in that 'debate' as it blocks actions that the procedural interface can currently provide so the main development is still on the generic drivers. But the current array objects are not gaining traction either? Removing the procedural interface is certainly the point where I would simply stop upgrading and switch to maintaining an older version. It's no secret that I wish I had stepped in and carried on with security updates to PHP5.2 ... it still runs a lot of sites without any problems! 'Fixing' the procedural interface is something somewhat borderline, which is why I asked 'what is the coding standard?' If the main track going forward IS to push a fully OO API as the main interface, then the need for making changes to the procedural interface is lessened? Only if the primary interface is to remain procedural is the debate on consistent function names relevant. So I'd prefer pushing that 'problem' to an OO API and being a lot lighter on ANY of the changes to the current function set, and simply maintain it as is. I'm 60 this year so that does determine some of my choices, and at the moment PHP (along with windows) is a tiring slog of trying to upgrade rather than the pleasure that was 10 years ago when freed from the straight jacket of 'C++'. Everybody seems intent on reimposing the straight jacket of strict types and constrained error handling :( -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk