News for hackers. Stuff that matters.
Re:PHP Team Responds to Google's PHP Tips by tremendo on Saturday June 27, 2009 @02:33PM (#677037)
That does sound counter intuitive. But even if performance differences are negligible, I still find it much more efficient, or at least ergonomically comfortable, to use single quotes with only one finger/keystroke, no need for shift. Same reason I dislike PHP's arrow -> for methods/properties, that's three keys right there, vs. just a dot in other languages.
Re:PHP Team Responds to Google's PHP Tips by mechanical_fish on Saturday June 27, 2009 @03:15PM (#677081)
That quiet sound you sometimes hear is emacs, calling you.

I can type the => character in one keystroke using emacs, though my key combo does technically contain two keys. I could reduce it to one if I really wanted to.

(And I might, because I just found an entire redundant key on my Kinesis keyboard that I never use -- the one right below the X key. Thank you for prompting me to look for such a key. To an emacs user, finding an entire spare key under a finger is like striking gold.)

Similarly, I found that Ruby doesn't use ; as often as :, so I swapped the two when in Ruby mode.

That said, I don't like the arrow operator either, but it has nothing to do with typing. It has to do with the other side of ergonomics: Visual clutter when reading. In a similar vein, the array() operator is my pet peeve: tons of redundant characters, even if you invent a macro for typing it.