4 ms·
Interesting results! Underscores do have two built-in caveats that offset the recognition benefit somewhat: more characters to type, and an awkward key to hit (
by MetaWhirledPeas 4y ago
Interesting results! Underscores do have two built-in caveats that offset the recognition benefit somewhat: more characters to type, and an awkward key to hit (shift + hyphen).
- Waterluvian 4y agoI’m interested in what kinds of software development jobs have you churning out so much code that these things practically matter. I have found that most of the time you can just automatically switch between the two cases, too. So maybe it’s moot.
- innocentoldguy 4y agoTo overcome this issue, I switched to the Dvorak keyboard layout and use Karabiner Elements to remap some of my keys. The result is that I can type underscores on the home row and parenthesis on my shift keys (tap == parenthesis and hold == shift). This has eliminated the RSI pain I used to feel from these hard-to-reach keys.
- kbd 4y agoCame here to say this. Underscore/dash is on the home row in Dvorak, making snake_case/kebab-case way more natural to type. Cool trick about mapping shift keys with Karabiner-Elements. I do that with my caps lock to create a "hyper" key: tapping it brings up Alfred, using it in a chord is "hyper", and long pressing caps lock maintains its default behavior.
- inDigiNeous 4y agoTyping is not the slow part. Reading and understanding the code is what takes most of the time, and is something that should be optimized. But '_' might be difficult to hit on non-US keyboards though.
- TylerE 4y agoIt’s not really that great on US boards, either. Way off to in a corner, and requiring shift.
- bonsaibilly 4y agoI wouldn’t say that offsets the benefits at all. You write it once, but it will likely be read and reread many many times.