4 ms·
Underscore is a double-pinky keystroke. As someone who has battled RSI, I stopped using snake case and underscore-prefixed member variables because of the adde
by yodon 2y ago
Underscore is a double-pinky keystroke.
As someone who has battled RSI, I stopped using snake case and underscore-prefixed member variables because of the added stress all those underscores place on the weakest fingers.
- sirentdiver 2y agoI have a programmable keyboard which I have bound underscore to LeftAlt+N, input with my left thumb + right index fingers. The first key is functionally not a Left Alt key, it is a layer key that shares the same position as where you would find a Left Alt key on keyboards. But you do have a point because not everybody has access to programmable keyboards almost all the time. Maybe snake_case isn't that ergonomic now that I think about it, although I find it easier to read than camelCase. Ultimately, the winner is still kebab-case, which is both aesthetically pleasing and is not a double-pinky keystroke!
- deleted 2y ago[deleted]
- mtlguitarist 2y agoI just realized that I always use my ring finger for underscores. I wonder if that changed how I feel about snake case.
- aramndrt 2y agothat’s interesting to me. For me it’s a left pinky-right ring finger move. We probably have different keyboard sizes, afaik.
- ihumanable 2y agoApparently I type underscore with a chord on my right hand, pinky on right-shift and middle-finger up to underscore. I never noticed before your comment.
- NikkiA 2y agoWhy are you not bending the keyboard's will to your whims ?