rfc:println

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:println [2021/03/13 20:01] tandrerfc:println [2021/03/15 13:26] (current) tandre
Line 3: Line 3:
   * Date: 2021-03-13   * Date: 2021-03-13
   * Author: Tyson Andre   * Author: Tyson Andre
-  * Status: Under Discussion+  * Status: Withdrawn
   * First Published at: http://wiki.php.net/rfc/println   * First Published at: http://wiki.php.net/rfc/println
   * Implementation: https://github.com/php/php-src/pull/6639   * Implementation: https://github.com/php/php-src/pull/6639
Line 207: Line 207:
  
 ==== Should this be a language construct instead ==== ==== Should this be a language construct instead ====
 +
 +
 +https://github.com/php/php-src/pull/3918#issuecomment-502012735
  
 <blockquote> <blockquote>
Line 226: Line 229:
 Adding this as a language construct (i.e. new statement type) is something I'd expect to be contentious, and this is deliberately NOT done. Adding a new keyword would Adding this as a language construct (i.e. new statement type) is something I'd expect to be contentious, and this is deliberately NOT done. Adding a new keyword would
  
-1. Cause a larger BC break. +  - Cause a larger BC break. 
-2. Increase the complexity of the language specification and make the language a bit harder to learn; I'd prefer simplicity by using an ordinary global function in this case. +  Increase the complexity of the language specification and make the language a bit harder to learn; I'd prefer simplicity by using an ordinary global function in this case. 
-3. Be impossible to polyfill (when brackets weren't added) for older php versions.+  Be impossible to polyfill (when brackets weren't added) for older php versions. 
 + 
 +==== PHP already has a lot of ways to print a string ==== 
 + 
 +https://externals.io/message/113504#113530 
 + 
 +<blockquote> 
 +This isn't solving any problem that anyone is actually having. 
 +Yes, that includes you. You're not having this problem because it doesn'
 +exist. 
 + 
 +We already have twice as many ways to output a string as any language needs 
 +and you want to add another because you'd rather type "LN" than "\N"
 +Hard, negative ten thousand no on this. 
 +This is genuinely absurd. 
 +</blockquote>
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
rfc/println.txt · Last modified: 2021/03/15 13:26 by tandre