Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84201 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16519 invoked from network); 2 Mar 2015 23:00:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 23:00:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.53 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.53 mail-qg0-f53.google.com Received: from [209.85.192.53] ([209.85.192.53:62596] helo=mail-qg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/C2-14834-A7BE4F45 for ; Mon, 02 Mar 2015 18:00:11 -0500 Received: by mail-qg0-f53.google.com with SMTP id j5so6656604qga.12 for ; Mon, 02 Mar 2015 15:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=SVtw0Y6idv+KKh/ER0lnRjezKXuf+UyJXn02QYpSI9k=; b=ISeTzbSvWeUOCJ83DbzFTiobrEbcVwnde2t89jxajSMWYNcnJL02tF8uzSPSJc3xj7 9so7WyfPKxxHgu6WHGFYwo5Y+m3NZz5nZZ0gB0hqHH5L+vqZlNBR5g7uXJKCycEv3osl /KHywzK7JnfmiFFtwlRwhgTgc8spggT51HOwjs2XB6ySH9mbfMdtwrbI9X8p9oJjJj3X PT5j+srG5L3M7vNzjPjRgpma0X0YhxGwNp0JM/MTzz+MYfiKU5Egs587/18gGQP3Zmz1 zTQqUKBg0oWVnb4Ja/m01m5W9KolQDqdl3JyKydVfQX4xugMpEo9TclUxsHg10ME2lW1 yhUg== X-Received: by 10.140.165.76 with SMTP id l73mr522508qhl.16.1425337208513; Mon, 02 Mar 2015 15:00:08 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Mon, 2 Mar 2015 14:59:28 -0800 (PST) In-Reply-To: <54F4E93C.80206@gmail.com> References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> Date: Tue, 3 Mar 2015 07:59:28 +0900 X-Google-Sender-Auth: RpEEFjlc20e9EF-6UQkg2tUhkT0 Message-ID: To: Rowan Collins Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1134ef8cffc6d50510562df2 Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1134ef8cffc6d50510562df2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Rowan, On Tue, Mar 3, 2015 at 7:50 AM, Rowan Collins wrote: > On 02/03/2015 22:36, Yasuo Ohgaki wrote: > >> I like scalar objects, but it does not resolve that PHP has non standard >> function names. >> It does not change old names, therefore it's impossible to resolve issue= . >> This is the reason why I'm proposing while I like scalar object, use of >> namespace, etc. >> > > Again, you're contradicting yourself here - you can't say that your > mission is to change the old names, rather than offer an alternative, but > then also say that the old names will stay around forever. If both names > exist, that's exactly what you've created - an alternative. > I think there is big difference between new API and alias. Alias is just a copy, new API works differently. > If we're going to have an alternative, let's come up with a creative > alternative that actually has an advantage to using it, not a choice > between equally cryptic names like "strripos" vs "str_ripos". I don't like the name neither. I improved other names such as "array_sort_assoc_reverse =E2=86=92 arsort" , but I kept cryptic libc names. Suggestions are appreciated for cryptic names. I think "gettext_d" is equally bad, for example... Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1134ef8cffc6d50510562df2--