Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84371 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31673 invoked from network); 6 Mar 2015 00:01:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2015 00:01:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.176 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.176 mail-we0-f176.google.com Received: from [74.125.82.176] ([74.125.82.176:45407] helo=mail-we0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/A0-40418-27EE8F45 for ; Thu, 05 Mar 2015 19:01:55 -0500 Received: by wesp10 with SMTP id p10so54058882wes.12 for ; Thu, 05 Mar 2015 16:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to:cc :message-id; bh=wMn26XFAphMCrrFhDvTY3pi1VpApK18fhP7ccxz3umg=; b=yxPxHoL4P967Zyfr1A+K9o3ONGSnxiqiDOiNP0sB6ffYjNgfSigFazQHv+n3yGdeST LUneP2QZnuegI21pDbhXF/ITrTk/nYlSy/m/YKzkdTn+9cyM+SQnTPMrfcNXfOUAv2kz MQsM0wXsRQut17qg76rYESSn5tLZmNnlVXFRAI323W1+nWOSqkJ42yPfvMp65ty9KSnq V2mAEig67+hDsKIkIrYdTtfohWnyEs0mNWiheIAr3b7MqRo1o1+rB5EmwF7qyg5WDoey LCXdZPvVU/S4m7+5I9K1j4oTvNViPoLSUxgaTSHqhWG8Juik0D+LeB350WfDAv0YlGKU Cv2A== X-Received: by 10.194.122.98 with SMTP id lr2mr24047833wjb.115.1425600111069; Thu, 05 Mar 2015 16:01:51 -0800 (PST) Received: from [192.168.0.2] (cpc68956-brig15-2-0-cust215.3-3.cable.virginm.net. [82.6.24.216]) by mx.google.com with ESMTPSA id v5sm10524494wiw.24.2015.03.05.16.01.49 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Mar 2015 16:01:50 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: References: <54F5895D.3090002@gmail.com> <554F0C3F-770F-4694-A5AB-FDC54FCCBF00@gmail.com> <1FCB68B8-3E55-4B5D-B805-9D92D848A3A1@gmail.com> <5D8591E2-5AE6-4B4C-AAE0-3D15523410AC@gmail.com> <54F83C4D.1020206@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Thu, 05 Mar 2015 23:59:45 +0000 To: Arvids Godjuks ,Yasuo Ohgaki CC: Pierre Joye ,"internals@lists.php.net" Message-ID: <95D7C20D-A167-4B65-BFE2-EB8AAC62CC63@gmail.com> Subject: Re: [PHP-DEV] Consistent function names From: rowan.collins@gmail.com (Rowan Collins) On 5 March 2015 23:22:35 GMT, Arvids Godjuks 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]