Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84223 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82823 invoked from network); 3 Mar 2015 10:14:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 10:14:45 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:44694] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/02-03783-49985F45 for ; Tue, 03 Mar 2015 05:14:44 -0500 Received: by wiwl15 with SMTP id l15so21417048wiw.3 for ; Tue, 03 Mar 2015 02:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=kJom3N2d2CTnV7goH48McvCRy6BB/d2zScM1A8YfxkA=; b=gRB/qg0OWNwENmf9vMssfm03dxphPlC8a/PxGbmwmRZXd5kOy6ka8MhfoueGiA2E4n QW2oUwj2rcD1fa8CXll+yxzD+2tYciDRkuVP/eoOZjz/X+eSxq+CvpEphz5WVy2AfjIg HTjqeXpiybKmVacrPbbvmzAX8p2GrTKFWLhyEBxLzBURoUu+v1UBvWr8WORZwygZt2gh HxsSnh5naMUcd6B+QXhtVaqQW4KlBwbGtml8he0kNyku82BGeYukU6tOhemNGbQFS7j2 ohMl06c6Ic5RNVQkvaD6V5BIQJYdWWc6hg1VqmCs8hfnjK876k5yiIVXOrRlX2RMAFe8 fW+Q== X-Received: by 10.180.79.65 with SMTP id h1mr1184900wix.59.1425377681143; Tue, 03 Mar 2015 02:14:41 -0800 (PST) Received: from [192.168.0.159] ([62.189.198.114]) by mx.google.com with ESMTPSA id ev7sm568490wjb.47.2015.03.03.02.14.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 02:14:40 -0800 (PST) Message-ID: <54F5895D.3090002@gmail.com> Date: Tue, 03 Mar 2015 10:13:49 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> <54F4FDFB.8010701@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Consistent function names From: rowan.collins@gmail.com (Rowan Collins) Yasuo Ohgaki wrote on 03/03/2015 04:01: > Hi Lester, > > On Tue, Mar 3, 2015 at 9:19 AM, Lester Caine wrote: > >> On 02/03/15 23:54, Yasuo Ohgaki wrote: >>> This looks awful... just cannot put up with... >> Rasmus has already answered, but are you prposing to rewrite -> >> http://www.gnu.org/software/gettext/manual/gettext.html > > I know we used to have had copy of C library names. > I already explained why it looks awful. It violates coding standard and > sitting in PHP for more than a decade as it is. You keep mentioning this coding standard like it's the Holy Bible. Coding standards are only as useful as the problem they're trying to solve, and there can always be justified exceptions to the rule. I doubt most PHP users look at that list of functions and think "tsk, tsk, the PHP devs didn't follow their own coding standards". They might think "why are these functions named the way they are?", in which case Rasmus has provided the answer, in terms of "vertical consistency" with cross-language libraries. Regards, -- Rowan Collins [IMSoP]