4 ms·
With an azerty keyboard, underscores are a single stroke of the "8" key. This nullifies the "underscores are hard to type" argument. I'd even wager that the per
by thrance 2y ago
With an azerty keyboard, underscores are a single stroke of the "8" key. This nullifies the "underscores are hard to type" argument. I'd even wager that the performance results are inverted in my country since snake_case does not require any press of the shift key, unlike camelCase. Also, I'm pretty sure I read a study one time that showed snake_case identifiers to be easier to read than camelCase ones.
Anyways, I think you should follow the specific guidelines of the language you are currently using.
- jaynetics 2y agoThis does make me wonder how much language preferences are really shaped by lofty philosophical arguments about different paradigms, and how much is in fact unconscious physical resistance: The awkwardness of typing the language on a given country's standard keyboard layout, individual hand physiology, individual visual perception, language verbosity (looking at you, Java)...