DEV Community

Discussion on: Simple Names

abhinav1217 profile image
Abhinav Kulshreshtha • Edited on

Very recently, I started using small_separated_names for variables. For some reason I am not sure why. But still personal rules are same, variables should not be more than 3 word long, and use is_, has_, hold_ etc wherever logical. Almost all other coding style rules are same as whatever language I am using at that time, except for some reason I stopped using camelCasedVariablesNames at some point in past few months, favouring lower_cased_names, in all the languages, from typescript to php, to kotlin, irrespective from whatever styles that language suggest for variable names.