Hacker News new | ask | show | jobs
by Hexstream 5653 days ago
From the article:

"I did this because I hate uppercase characters in the middle of identifiers and I'm too lazy to type shift to get the '_'. In addition, I find it more readable."

just-use-lisp-style-identifiers-then

2 comments

>just-use-lisp-style-identifiers-then

hitting - is not significantly easier than hitting _ when compared to hitting the spacebar.

http://en.wikipedia.org/wiki/Fitts_law

This is yet another reason I enjoy typing in Dvorak :) (-_ is in a better place)
I honestly thought you'd posted a snippet of smalltalk or lisp or something for a second there. I think some people refer to that as a "brainfart."

(Note that I have no practical knowledge of either language. I probably wouldn't have admitted this if I did.)

Haha! I'm on Dvorak too and didn't understand at all why JohnnyCache thought hitting "-" was so much harder than Space! I guess I've been completely converted for too long.
but then you sacrifice the "-" (minus) infix operator
Unless it's surrounded by spaces, which it probably should be anyway. Compare these pathological cases for either approach:

    one-thing - another-thing
vs.

    one thing-another thing