DEV Community

loading...

Discussion on: What do you prefer for your variable names? camelCase or snake_case?

Collapse
ahferroin7 profile image
Austin S. Hemmelgarn

Whichever the language itself prefers, because consistency is a good thing.

I tend towards snake case by default out of habit, but I tend to not use multi-word variable names (multi-word function names, however, I use a lot).