Post

snake_case is much easier to read than camelCase, and I wish the JavaScript community agreed with me 🥲

1 repost11 likes

I'm really trying to convert to snake_case, but muscle memory still defaults to camelCase. And functions feels weird to snake_case somehow. Do you snake_case everything?

I almost never use snake_case in JavaScript because I prefer consistency, especially when collaborating with others. But I love it in other languages like Python. I might suggest switching to snake_case in some of my projects one day, but for now, it's not that important.

"It's harder to write" Yes (?), but how much time do you spend writing code vs. reading it?