\
separator)This RFC is the result of a discussion on IRC with Greg, Dmitry, Steph, Derick, Elizabeth, Johannes, Andrei, Scott, Hannes and myself.
The purpose of this RFC is to decide on a namespace separator
(1) type-ability (how easy is it to type the separator)
(2) typo-vulnerability (how easy is it to make a typo and get an unwanted behavior without a error/warning)
(3) parse-ability (how easy is it to read the code and figure out whats going on without getting confused with similar syntax that means another thing)
(4) IDE compatibility
(5) number of chars
critieria | \ | ** | ^^ | %% | :> | :) | ::: |
---|---|---|---|---|---|---|---|
type-ability | +-0 | +-0 | -1 | -1 | +-0 | +-0 | +-0 |
typo-vulnerability | +1 | -1 | -1 | -1 | -1 | -1 | -1 |
parse-ability | +-0 | +-0 | +-0 | +-0 | -1 | -1 | -1 |
IDE compatibility | +1 | +1 | +1 | +1 | -1 | -1 | +1 |
number of chars | +1 | -1 | -1 | -1 | -1 | -1 | -1 |
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
\
as the new namespace separator instead of the current
::