rfc:namespaceseparator

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:namespaceseparator [2008/10/25 16:47]
lsmith created
rfc:namespaceseparator [2017/09/22 13:28] (current)
Line 1: Line 1:
-====== Request for Comments: How to write RFCs ======+====== Request for Comments: Namespace Separators ======
   * Version: 1.0   * Version: 1.0
   * Date: 2008-10-25   * Date: 2008-10-25
   * Author: Lukas Smith <smith@pooteeweet.org>   * Author: Lukas Smith <smith@pooteeweet.org>
-  * Status: Final+  * Status: Implemented in PHP 5.3 (with ''\'' separator)
   * First Published at: http://wiki.php.net/rfc/namespaceseparator   * First Published at: http://wiki.php.net/rfc/namespaceseparator
  
-This RFC is the result of a discussion on IRC with Greg, Dmitry, Steph, Elizabeth, Johannes, Andrei, Scott, Hannes and myself.+This RFC is the result of a discussion on IRC with Greg, Dmitry, Steph, Derick, Elizabeth, Johannes, Andrei, Scott, Hannes and myself.
  
 ===== Introduction ===== ===== Introduction =====
  
 The purpose of this RFC is to decide on a namespace separator The purpose of this RFC is to decide on a namespace separator
- +==== Criterions ====
-==== Criterias ====+
  
 (1) type-ability (how easy is it to type the separator) (1) type-ability (how easy is it to type the separator)
Line 23: Line 22:
  
 (5) number of chars (5) number of chars
- 
 ==== Rating ==== ==== Rating ====
  
-+1 means the separator is not affected negatively by the criteria +  - +1 means the separator is not affected negatively by the criteria 
-+-0 means that the separator is only moderately affected by the criteria +  +-0 means that the separator is only moderately affected by the criteria 
--1 means the criteria is severely affected by the criteria+  -1 means the criteria is severely affected by the criteria
  
-^ critieria ^ <code>\</code> ^ <code>**</code> ^ <code>^^</code> ^ <code>%%</code> ^ <code>:> </code> ^ <code>:)</code> ^ <code>:::</code>+^ critieria          ^ <code>\</code> ^ <code>**</code> ^ <code>^^</code> ^ <code>%%</code> ^ <code>:> </code> ^ <code>:)</code> ^ <code>:::</code>
- (1)      |  +-0            +-0            |  -1              -1              +-0              +-0            |  +-0             | +type-ability       |  +-0            +-0            |  -1              -1              +-0              +-0            |  +-0             | 
- (2)      |  +1            |  -1              -1              -1              -1              |  -1              -1              | +typo-vulnerability |  +1            |  -1              -1              -1              -1              |  -1              -1              | 
- (3)       +-0            +-0            |  +-0            |  +-0            |  -1              |  -1              -1              | +parse-ability       +-0            +-0            |  +-0            |  +-0            |  -1              |  -1              -1              | 
-|  (4)      |  +1            |  +1              +1              +1              -1              |  -1              +1              | +IDE compatibility   +1            |  +1              +1              +1              -1              |  -1              +1              | 
- (5)      |  +1            |  -1              -1              -1              -1              |  -1              -1              |+number of chars    |  +1            |  -1              -1              -1              -1              |  -1              -1              |
  
-===== Changelog =====+Please note that we did not weigh all criterions evenly. Also we only included choices that we still felt relevant. For example as you can see in the IRC logs at the bottom we had already ruled out "::".
  
 +As such we have decided to go with <code>\</code> as the new namespace separator instead of the current <code>::</code>
 +
 +===== References =====
 +
 +  - http://wiki.php.net/rfc/backslashnamespaces
 +  - IRC {{:rfc:php.ns.txt|discussion}} that illustrates how we got to the decision of going with a new separator and how we came up with the criteria and the ratings.
 +  - previous namespace RFCs:
 +    - [[rfc:namespacecurlies|Namespaces with curly braces]]
 +    - [[rfc::namespaceref|Namespace refinement]]
 +    - [[rfc:namespaceissues|Namespace Issues and Solutions]]
 +
 +
 +===== Changelog =====
rfc/namespaceseparator.1224953269.txt.gz · Last modified: 2017/09/22 13:28 (external edit)