What's in a name\space?

OK, so the decision has finally been made (again) on the PHP namespace separator, and they've chosen the backslash, '\'.

Leaving aside the sheer number of people who think '/' is a backslash, this is obviously a dumb idea. One of the dumbest things Microsoft did (and there's not generally considered to be a shortage) was to use backslash as the directory separator. It's an escape sequence! It always made coding file paths a complete headache.

Unfortunately (perhaps), like democracy, this is worst possible choice except for all the other options.

'::' is ambiguous with class scope. ':::' is a headache to read or differentiate for anyone with any sort of visual issue / dyslexia. Pretty much every other piece of punctuation on the average keyboard is already taken; multiples of symbols are a mess. Combinations like :) are hard (at best) to take seriously.

The only character I can find on the (UK Mac) keyboard that isn't yet used is ยง. And frankly, I really can't see that catching on; I don't even know what it's called.
Posted by parsingphase, 2008-10-28 10:37

Anonymous user



Contact Richard