Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28635 invoked from network); 2 Mar 2015 23:55:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 23:55:06 -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.216.51 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.51 mail-qa0-f51.google.com Received: from [209.85.216.51] ([209.85.216.51:35304] helo=mail-qa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/35-14834-858F4F45 for ; Mon, 02 Mar 2015 18:55:06 -0500 Received: by mail-qa0-f51.google.com with SMTP id i13so25719582qae.10 for ; Mon, 02 Mar 2015 15:55:01 -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=5am2ZjC52RAROB+ur/nlT+07PTYNiSE9d8Fud0sQxXg=; b=xYvFy3P1lQBOtOBjCYYx1/RCPAHl6DNJVhwlBL9+Go0cwhYMg9tw6Lkgx5pE/PVpUD V9mPl4/70d6IcYifdD10xvYacf8reKvdaN3zOWtl4cmDQ8zNcZ7NVbCgTK5j0wI7U6aX psi48bZAon8Tsndc7vt5Xf0psVZOGQiJUnpREVBhNiFl16KYn6ogW06AsAls6JMdYYXU kvNkCzYdZjilg5ZVo4YXVOw0ElXHvj0emb48ueyy70ZrzCJP0TgoWCY0twKkf2PD6z87 rS9SQSDVQAqxQZnvt2EygD7e0+amxwOL7jbBYmVZQkgKx6WlIiV5EosvuadNkIVrca0M DNhQ== X-Received: by 10.55.40.147 with SMTP id o19mr7723490qko.0.1425340501405; Mon, 02 Mar 2015 15:55:01 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Mon, 2 Mar 2015 15:54:21 -0800 (PST) In-Reply-To: <54F4F3FC.6060501@fischer.name> References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> Date: Tue, 3 Mar 2015 08:54:21 +0900 X-Google-Sender-Auth: UoNz__36Rjr4puJiLsG5hXojF-Y Message-ID: To: Markus Fischer Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1142ea8a4536ab051056f27d Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1142ea8a4536ab051056f27d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Markus, Larry and Rowan, On Tue, Mar 3, 2015 at 8:36 AM, Markus Fischer wrote: > On 03.03.15 00:10, Yasuo Ohgaki wrote: > > I would love to have new & clean APIs. > > > > Please think my proposal as legacy API cleanups. Many of candidates wil= l > > remain > > without CORDING_STANDARSDS confirmed names almost forever. This is what > > I would like to improve. If you don't care about legacy stuff cleanups, > > please don't > > care. The cleanups will not hurt anything, almost. > > No ill intentions here, but adding the aliases and, as you propose, > literally adding *hundreds* of aliases is actually a mess to me. > > What you call "new & clean" is as a shield for effectively introducing > duplicates. You do not clean up anything that way. You leave a even > bigger mess behind. By going for your honorable goal of correcting > things I think you got lost in the woods. > > IMHO the only forward is to make sure new/future additions to the > language adhere to the coding standard or use a smart way (i.e. the > scalar addition). I think I understand your point very well. However, I have an urge impulse to add standard confirmed names when I see manual pages like http://php.net/manual/en/book.gettext.php bind_textdomain_codeset =E2=80=94 Specify the character encoding in which t= he messages from the DOMAIN message catalog will be returned bindtextdomain =E2=80=94 Sets the path for a domain dcgettext =E2=80=94 Overrides the domain for a single lookup dcngettext =E2=80=94 Plural version of dcgettext dgettext =E2=80=94 Override the current domain dngettext =E2=80=94 Plural version of dgettext gettext =E2=80=94 Lookup a message in the current domain ngettext =E2=80=94 Plural version of gettext textdomain =E2=80=94 Sets the default domain This looks awful... just cannot put up with... PHP is evolving as a modern language, but these manual pages/functions make me feel PHP as a legacy language. I wish I'm alone who feels this way. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1142ea8a4536ab051056f27d--