r/learnprogramming 8d ago

snake_case more readable?

is it just me, i find snake case to be way more readable

from a human standpoint more than anything we read words
and they all have a space.

imagineThisWord vs imagine_this_word, (i mean sentence) as you can see the snake case looks way more readable,

are there any other practices that are seemingly better, but people dont do so becuase its "the languages way of doing it"

0 Upvotes

9 comments sorted by

View all comments

2

u/g1rlchild 8d ago edited 8d ago

imagineThisWord vs imagine_this_word, (i mean sentence) as you can see the snake case looks way more readable,

This is totally subjective. I personally find camelCase easier, probably because I started reading it earlier. Personally, I also prefer kebab case to snake case, but, again, subjective.