Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
arminiae5658yI grew up using camelCase, but to me, it's actually more important that all devs in a team agree on using the same format.
-
As @arminiae said. For solo projects, I believe it should be the standard of the language - camelCase for java, under_scores for Ruby, etc
-
ObjSal2898yIt definitely depends on the language and the style that was selected at the beginning of the project (or at least in the file) and to keep it that way.
-
I find it much quicker to type in camel case cause sometimes I hit the wrong key when trying to press underscore.
-
Really I don't care as long as everyone uses the same one. Having to deal with both naming conventions at once is just...
variableName
vs
variable_name
<imho> I prefer the second one, it is definitely more readable </imho>
undefined