rfc:trailing_comma_in_parameter_list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:trailing_comma_in_parameter_list [2020/03/26 18:09] nikicrfc:trailing_comma_in_parameter_list [2020/04/28 14:13] (current) nikic
Line 2: Line 2:
   * Date: 2020-03-26   * Date: 2020-03-26
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Under Discussion+  * Status: Implemented
   * Target Version: PHP 8.0   * Target Version: PHP 8.0
   * Implementation: https://github.com/php/php-src/pull/5306   * Implementation: https://github.com/php/php-src/pull/5306
Line 58: Line 58:
 [[rfc:list-syntax-trailing-commas|Trailing Commas In List Syntax]] was a previous proposal to support optional trailing commas in all list-like structures. [[rfc:list-syntax-trailing-commas|Trailing Commas In List Syntax]] was a previous proposal to support optional trailing commas in all list-like structures.
  
-Nothing has substantially changed since those RFCs in technical terms, but I think the aforementioned style for breaking up large parameter lists has become more accepted in the meantime, and features like [[rfc:constructor_promotion|Constructor Property Promotion]] are going to increase their use further.+Nothing has substantially changed since those RFCs in technical terms, but I think the aforementioned style for breaking up large parameter lists has become more accepted in the meantime, and features like [[rfc:constructor_promotion|Constructor Property Promotion]] are going to increase its use further.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
Line 66: Line 66:
 ===== Vote ===== ===== Vote =====
  
-Yes/No.+Voting opened 2020-04-14 and closes 2020-04-28. 
 + 
 +<doodle title="Allow trailing comma in parameter lists?" auth="nikic" voteType="single" closed="true"> 
 +   Yes 
 +   No 
 +</doodle>
  
rfc/trailing_comma_in_parameter_list.1585246179.txt.gz · Last modified: 2020/03/26 18:09 by nikic