PHP USB Device to solve namespace problems
November 3rd, 2008 | by Stefan Esser |Now that the PHP namespace seperator is fixed as backslash developers around the world face two problems. On the one hand their source code will end up looking more ugly than .NET source code and on the other hand most non-american keyboards, especially those attached to apple computers will require strange key combinations to enter the backslash.
However rescue is near in the form of a USB device that allows you to enter the backslash character in a smooth and easy way. First pictures of this device that will be available at shop.php.net around christmas have leaked to the internet.

This should finally shut up all the namespace seperator critics and allow the PHP developers to finally release the long awaited PHP 5.3





26 Responses to “PHP USB Device to solve namespace problems”
By Peter Petermann on Nov 3, 2008 | Reply
ROFL!
<3 <3 <3 <3
By Martin Stricker on Nov 3, 2008 | Reply
Can’t stop giggling (with tears in my eyes).
By Dynom on Nov 3, 2008 | Reply
Brilliant, just brilliant.
By Ivo on Nov 3, 2008 | Reply
so how have people been typing the \ on windows all those years then?
By Thorsten on Nov 3, 2008 | Reply
Ivo, they clicked the path with their mice.
By Peter Petermann on Nov 3, 2008 | Reply
Ivo: uhm… windows users on apple computers? uhm.. FAIL!?
By Tobias Struckmeier on Nov 3, 2008 | Reply
Georgeous. I will order 10
By Michael Campbell on Nov 3, 2008 | Reply
And depending on how you orient the device, you can get a “/” from it too!
By xrado on Nov 3, 2008 | Reply
why don’t they rather break backwards compatibility in version 6 and make cleaner & simpler syntax
..i’m already thinking to switch to something else
By John Minor on Nov 3, 2008 | Reply
ROTFL OMG I must have one!
Jiff
http://www.iurlz.com/datools
By Tom Ritchford on Nov 3, 2008 | Reply
Ha ha ha.
So you really don’t understand why most people think that using \ - a character that has a very specific and very important use in character strings already - is a very stupid idea?
By Stefan Esser on Nov 3, 2008 | Reply
@Tom:
Great idea… Let’s continue the discussion and remove multiplication and concat from PHP. Because inside a regular expression string both * and . are used for something different, we cannot use them outside.
Let us find new tokens for multiply and concat.
By Peter Petermann on Nov 3, 2008 | Reply
lets multiply with x
By jerryF on Nov 3, 2008 | Reply
That and this one and you’re all set
http://www.stopgeek.com/super-coder-2000.html
By jeez on Nov 3, 2008 | Reply
alt-gr + 8 … how complicated….
when you live here you’re used to it (no # { [ | \ ^ @ ] } € without that on my keyboard…)
\ is a lame choice for a namespace separator, but still, now would be a good time to get over it and stop whining for stupid reasons)
–Jeez
By Stefan Esser on Nov 3, 2008 | Reply
@jeez:
This “stop whining” phrase is kind of useless against a non PHP programmer. Most of the code I do is in languages different from PHP, like C, C++ or Java. Therefore I am not hit by the namespace decision at all.
This will however not stop me from making fun of the worst choice made by the PHP developers in a long time.
By Hodicska Gergely on Nov 3, 2008 | Reply
:D:D:D
By blblblb on Nov 3, 2008 | Reply
Uhum, I’ve worked with both c# and php, imo “.net code” is a helluva lot cleaner than php.
By David M on Nov 4, 2008 | Reply
Don’t mind the backslash myself, but I’d totally buy this device. Especially if it doubled as a coffee cup warmer…
I’m just glad they didn’t go with :::.
:::My::Lib::get(’something’); //see what’s wrong?
Mind you, it’ll end up with a fatal error anyway, but the problem is still hard to spot.
By greg on Nov 4, 2008 | Reply
???? .NET Code is a lot cleaner
By Me on Nov 4, 2008 | Reply
This is just par for the course with PHP. There is not a single feature of the language that isn’t flawed in some manner or other. Even it’s wide-spread deployment just floods the intertubes with incompetents wanting you to write their code for them.
By giuliano on Nov 4, 2008 | Reply
.NET code looks ugly? So what are you going to argue that Python looks good?
By GeeShus on Nov 6, 2008 | Reply
Briliant toy gadget to buy as present for person who’s whining about \.
Atleast brilliant idea to someone to make and sell them.
jeez wrote alt-gr + 8 … how complicated….
On my scandic keyboard it’s [AltGr]+["11"], that’s rightside of [0] having +,?,\
People who can write 10-finger method are whining this. ‘So hard to press right thumb [AltGr] and then [+] (”11″) with pinky/ring finger.’
But, also when keyboard is not having [AltGr] key, pressing [Alt]+[Ctrl] with left hand does same thing, and use any finger from your right hand to press number needed.
Google words
edit keyboard layout
First hit gives official method for windows user to create anykind of keyboard layout. Move that \ key anywhere you like it.
Also problems exists on ‘most non-american keyboards’!
There is (windows) language settings clicking by mouse on toolbar, or even easier for 10-finger-writers, press LeftAlt+Shift and it’s cycling the keyboard layouts. So switching from US keyboard to your own language, when you need to write non-coding-sentences that are not English.
LeftAlt+Shift can also be modified!
That thing is about 10cm = 4″ by sides.
Takes lotsa space for totally useless thing. Just a joke to give someone.
I’ve seen these gluable fake buttons to keyboard, usally red, printed ‘Any Key’.
That gadget printed with that, could be more usable to give person who’s fetching that button on normal keyboard. ‘ Press Any key to continue’
By Stefan Esser on Nov 6, 2008 | Reply
@GeeShus:
The Zimt PHP Namespace Enabler Pro is obviously a fake. It was a cheap 1 minute job in livequartz.
It is shocking how many people take this seriously
By Barmaley on Dec 6, 2008 | Reply
Interestingly, a special stand to consolidate on the keyboard to the “device” does not sell? Dollars per 200 …