+ 15
Which is better snake case or camel case???
5 Réponses
+ 7
For Android I suggest camelCase. Infact I only use snake_case in Python and Ruby among the languages I use most. Otherwise it's a matter of taste but I prefer something conventional
+ 5
Each language has its own conventions and styling guides... Which is more or less respected by developers.
Python tends to go with snake_case and Java goes with camelCase
OOP class names usually begin with capital letters and methods/functions begin with lowercase.
+ 4
IMHO snake case is easier to read when names are longer but modern OO languages seem to prefer camel case.
0
postgreSQL is easier with snake_case