rfc:shortsyntaxforarrays
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:shortsyntaxforarrays [2008/05/29 16:04] – thezapper | rfc:shortsyntaxforarrays [2011/08/06 19:28] – [Request for Comments: Short syntax for arrays] stas | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Request for Comments: Short syntax for arrays ====== | ====== Request for Comments: Short syntax for arrays ====== | ||
- | * Version: 0.5 | + | * Version: 0.9 |
- | * Date: 2008-27-05 | + | |
* Author: Ryusuke Sekiyama < | * Author: Ryusuke Sekiyama < | ||
- | * Status: | + | * Status: |
- | * First Published at: 2008-01-10 | + | * First Published at: Jan 10, 2008 |
- | * Votes (+25/-19): | + | * Last update: May 9, 2011 |
- | * Pro: Andrei Zmievski, Andi Gutmans, | + | |
- | * Contra: | + | **2008 Votes** |
- | * Note: I added the names going through the internals | + | |
+ | * Votes (+9/-14): | ||
+ | * Pro: Andrei Zmievski, Andi Gutmans, | ||
+ | * Contra: Antony Dovgal, Derick Rethans, Jani Taskinen, Lokrain, Felipe Pena, Marcus Boerger, David Soria Parra, Johannes Schlüter, Maciek Sokolewicz, Ilia Alshanetsky, | ||
+ | * Userland Votes (+17/-3): | ||
+ | * Pro: Sebastian Deutsch, Ryusuke Sekiyama, Stefan Marr, Alexey Zakhlestin, Carl P. Corliss, Darius Jahandarie, Giedrius D, Eric Coleman, Max Antonov, Mike Ford, Larry Garfield, Sam Barrow, Taylor Luk, Hans Ahlin, Karoly Negyesi, Guilherme Blanco, Jonathan-Bond Caron | ||
+ | * Contra: Geoffrey Sneddon, Tomi Kaistila, David Zühlke | ||
+ | * **Note: | ||
This RFC will discuss an language enhancement for simple and easy array definition. | This RFC will discuss an language enhancement for simple and easy array definition. | ||
+ | |||
+ | ===== Update: May 2011 ===== | ||
+ | |||
+ | This topic has come up again on the list. | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 42: | Line 52: | ||
The first solution is more compact: http:// | The first solution is more compact: http:// | ||
The second solution is more "The PHP Way": http:// | The second solution is more "The PHP Way": http:// | ||
+ | |||
===== Pro / Contra ===== | ===== Pro / Contra ===== | ||
- | * Pro | + | Pro and contra arguments that were derived from the list. |
+ | |||
+ | ==== Pro ==== | ||
* Good for framework development when dealing with long parameterlists | * Good for framework development when dealing with long parameterlists | ||
* Other web languages have similar syntax | * Other web languages have similar syntax | ||
* Readable | * Readable | ||
- | * Contra | + | |
+ | |||
+ | ==== Contra | ||
* Yet another alias | * Yet another alias | ||
* Would take distinctness from [] | * Would take distinctness from [] | ||
* Not searchable through search engines | * Not searchable through search engines | ||
* Unreadable | * Unreadable | ||
+ | * Patch may be difficult to maintain in future | ||
+ | |||
+ | ===== Conclusion ===== | ||
+ | |||
+ | This patch will not be accepted because slight majority of the core developers voted against. Though if you take a accumulated mean between core developers and userland votes seems to show the opposite it would be irresponsible to submit a patch witch is not supported or maintained in the long run. | ||
===== Discussion on the List ===== | ===== Discussion on the List ===== | ||
+ | |||
- 2003-11-04 : [[http:// | - 2003-11-04 : [[http:// | ||
- 2007-02-03 : [[http:// | - 2007-02-03 : [[http:// | ||
Line 61: | Line 84: | ||
- 2008-01-11 : [[http:// | - 2008-01-11 : [[http:// | ||
- 2008-05-21 : [[http:// | - 2008-05-21 : [[http:// | ||
+ | - 2011-05-09 : [[http:// |
rfc/shortsyntaxforarrays.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1