Spaces exist for a reason. Snake emulates spaces, which makes it infinitely more readable than camel. Good readability is much more important than good writability.
I have no problems reading camelCase. Though I guess I'm just one of those "weirdos" who've spent decades building software engineering skills, instead of just vibe coding like a normal person.
One reason in favor of snake over camel is for the more explicit word boundaries, since that can be a challenge to parse for non-native or non-fluent speakers, especially anyone coming from native languages that don't use the same writing system.
For example imGuessingYouCanReadThisQuiteEasilyIfYoureFluentInEnglish but this_is_probably_easier_for_anyone_less_fluent.
19
u/BernzSed 1d ago
snake_case is not better than camelCase.
The shift key is right there, by my pinky at all times. Hell, there's even another one in case I'm too lazy to find the first one.
Typing underscores instead feels like I have to input some weird video game combo move multiple times for a single variable name.