Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88835 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63562 invoked from network); 15 Oct 2015 19:48:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2015 19:48:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=derokorian@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=derokorian@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.52 as permitted sender) X-PHP-List-Original-Sender: derokorian@gmail.com X-Host-Fingerprint: 209.85.215.52 mail-lf0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:36330] helo=mail-lf0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/5C-23021-5F200265 for ; Thu, 15 Oct 2015 15:48:06 -0400 Received: by lfeh64 with SMTP id h64so43302478lfe.3 for ; Thu, 15 Oct 2015 12:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H11pFKJw9KiTBqbc96T46mh4tCzZGu8m4WMI9SobiIE=; b=z1mNcmM11GBv/hC/dE7zSjG76KSrCXmytIlAiujVZ7U/vY8lUfWVm1oIRt+cvF8CBA mkBSwhd7FCkw7mcoGnWkgXEZxoWGoy9Shi8+9CSVcQPjlflXgmQRjf9piN9MfUfaYva0 gb375BWdoOUHhsg3u9k628+qVtbZhw6WWVBMC3aNjgdXELqIqadkDGhfrzFHoJ5fW3H9 xAo+In8S6rtXwzB41klmvWcf9BKVkQgzK9f8ArOKENTf8ZDl4aOO8DEbuRd0qzxncIqf 7xVQ6+vW3+jCbxnSDN2pZVVTjlU+Zo1+NdUt4tj5FJhtJpm0sRPDTYi3waUEbyTG8QN8 plFA== MIME-Version: 1.0 X-Received: by 10.180.106.10 with SMTP id gq10mr518560wib.51.1444938482994; Thu, 15 Oct 2015 12:48:02 -0700 (PDT) Received: by 10.28.143.137 with HTTP; Thu, 15 Oct 2015 12:48:02 -0700 (PDT) In-Reply-To: References: <561F4EEB.8070605@telia.com> Date: Thu, 15 Oct 2015 13:48:02 -0600 Message-ID: To: Pedro Cordeiro Cc: Sara Golemon , =?UTF-8?Q?Bj=C3=B6rn_Larsson?= , Sammy Kaye Powers , PHP Internals Content-Type: multipart/alternative; boundary=f46d0444806f0056e2052229f520 Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Revisit trailing commas in function arguments From: derokorian@gmail.com (Ryan Pallas) --f46d0444806f0056e2052229f520 Content-Type: text/plain; charset=UTF-8 On Thu, Oct 15, 2015 at 1:32 PM, Pedro Cordeiro wrote: > > Wouldn't this give the same benefit as trailing commas when it comes to > > adding removing arguments - a single line diff? > > It would. > > However, I see some merit in someone wanting trailing commas for diffs. > Leading commas would break away from PSRs and one should not have to choose > between a standard or clean reading. > > If someone chooses to lose their precious time implementing this, it would > actually give some people a new feature (clean diffs while keeping PSR2 > compliance) without taking anything away from people who oppose this. This > is not objectively bad, it just adds an option to the pool, which I think > is good. > > I see no reason to allocate resources to make this happen, but if someone > does allocate their personal time into coding this, I wouldn't oppose a > merge. > > But again, I have no vote. > > I want to clarify, I have no objection to this - was just asking if making the decision that way back then at FB would have merited the same result. I'm in your boat, whether its added or not does not matter to me. --f46d0444806f0056e2052229f520--