Re: [RFC][VOTE] Trailing commas in all list syntax
| From: | Nikita Popov | Date: | Fri, 27 Jan 2017 16:59:58 +0000 |
| Subject: | Re: [RFC][VOTE] Trailing commas in all list syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97994@lists.php.net to get a copy of this message | ||
On Fri, Jan 27, 2017 at 5:05 PM, Sammy Kaye Powers <me@sammyk.me> wrote:
> Hello my internals friends!
>
> After a 2 week (ahem... 1 year & 3 month - sorry for dropping the
> ball) discussion period, the "Trailing commas in all list syntax" RFC
> is now open for voting.
>
> See the discussion here:
>
> https://www.mail-archive.com/internals@lists.php.net/msg81366.html
>
> You can vote yay or nay for each possible list syntax individually.
>
> Voting will close 2017-02-10 16:00 (UTC).
>
> Thanks to @WesNetmo for pushing me to bring this to vote. The
> community (or at least a sample from twitter) seems to want this
> (https://twitter.com/sammyk/status/824298464456691712) so here we go!
> :)
>
I've voted based on the following rule:
* Vote yes if the list is enclosed in (), [] or {}.
* Vote no otherwise.
I can see how it is useful in some cases, but I really don't like the idea
of having a comma followed by a semicolon, as is the case for the class
member declarations...
Nikita