Re: [RFC][DISCUSSION] Trailing commas in all list syntax
| From: | Andrea Faulds | Date: | Thu, 05 Nov 2015 16:14:48 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Trailing commas in all list syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89084@lists.php.net to get a copy of this message | ||
Hi Sammy,
Sammy Kaye Powers wrote:
The RFC to allow trailing commas to function calls & declarations has been withdrawn in favor of the a RFC that broadens the scope to all list syntax. https://wiki.php.net/rfc/list-syntax-trailing-commasMy thoughts on this are much the same as my thoughts on the function call/declaration-only RFC. I think trailing commas add yet another style point for people to disagree on, and can look ugly in some contexts, yet have little benefit since most lists are not frequently changed. That being said, trailing commas in
use Foo\{ ... }; might be an exception for me, since I think those lists would be quite long and subject to frequent change, unlike function calls.
Hmm. Consider me -½.
Thanks.
--
Andrea Faulds
http://ajf.me/