Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80214 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94880 invoked from network); 5 Jan 2015 23:26:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2015 23:26:32 -0000 Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.171 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:34425] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/7E-21693-8AD1BA45 for ; Mon, 05 Jan 2015 18:26:32 -0500 Received: by mail-lb0-f171.google.com with SMTP id w7so18545310lbi.2 for ; Mon, 05 Jan 2015 15:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=uKuYwji/snyO66oiASJJMiZXJmpS/QVAYs9v9f/ZWqw=; b=w12a3NPCO/e9yMMO6qPgMXu5wEse08vj3m0TkxvPPduriCVCVsnNetd8YRVIUMQ/9o tQaDi+a+IPedcybz5OdKXYT9wH07Bq1rEdVuRZWq04SVTWXWCUmD5i6Cr1F7iFt8yNRR nmVVHQJgwVB7fI/QfJFhRy5dHJXrKGEHE+naANAcT9GTV2TFPAFveX8WNOhWojqVR7gk vuVeynktQT58nuJ4nGHIPtF1fiRWd0nVDaoyKy5wEXA/fdvGvf6GaXME616CSiKgYbsy 5huCeyrgwpSU/PE2qYpuSayL9P8VGbYObeeKPKCLSmaGFNDKC6FfVY3ixXxvmn9IHqPH nQwQ== X-Received: by 10.152.87.12 with SMTP id t12mr96319455laz.31.1420500389566; Mon, 05 Jan 2015 15:26:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.21.101 with HTTP; Mon, 5 Jan 2015 15:26:09 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: References: <54AB0A10.4010709@gmail.com> <54AB0F3A.5020606@gmail.com> <06711056-CC82-41A6-BED9-FB87450C63BE@ajf.me> <54AB158A.9030000@gmail.com> Date: Mon, 5 Jan 2015 20:26:09 -0300 Message-ID: To: Andrea Faulds Cc: Stanislav Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=001a11c352821f9e5e050bf00532 Subject: Re: [PHP-DEV] [RFC] Parameter skipping, take 3 From: marcio.web2@gmail.com (Marcio Almada) --001a11c352821f9e5e050bf00532 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > I=E2=80=99m not saying change existing APIs. I=E2=80=99m saying add new, = parallel ones. We=E2=80=99ve done this before, we can do it again. It doesn=E2=80=99t brea= k BC. Makes sense to have new better overlapping APIs while old ones are slowly deprecated (which is still a (delayed) BC break). Thanks for clarifying this, anyway. But I still disagree when you say that parameter skipping would instantly "encourage horrible APIs". That's a huge stretch, IMMO, unless you have any real case to support such statement. 2015-01-05 20:17 GMT-03:00 Andrea Faulds : > Hi Marcio, > > > On 5 Jan 2015, at 23:14, Marcio Almada wrote: > > > > Not sure how this RFC rant is helpful since it's based on completely > unreal > > alternatives. This "We should get better APIs instead" suggestion, in > > practice, means a ton of BC breaks that will never happen on PHP global > > functions for obvious reasons. > > I=E2=80=99m not saying change existing APIs. I=E2=80=99m saying add new, = parallel ones. > We=E2=80=99ve done this before, we can do it again. It doesn=E2=80=99t br= eak BC. > -- > Andrea Faulds > http://ajf.me/ > > > > > --001a11c352821f9e5e050bf00532--