| Snake Case |
Lowercase letters separated by underscores |
my_variable_name |
Python, Ruby, C/C++ |
| Screaming Snake |
Uppercase letters separated by underscores |
MY_VARIABLE_NAME |
Java, Kotlin, Python, C/C++ |
| Camel Case |
First word is lowercase, other words capitalized |
myVariableName |
Java, JavaScript, C#, Go |
| Pascal Case |
All words capitalized |
MyVariableName |
Java, C#, Go |
| Kebab Case |
Lowercase letters separated by hyphens |
my-variable-name |
HTML, CSS, URLs |
| Train Case |
Capitalized words separated by hyphens |
My-Variable-Name |
Uh... no |
| No Casing |
Lowercase words with no separation |
myvariablename |
Please don't |