myVariableName
First word lowercase, subsequent words capitalized, no spaces
Common use: JavaScript/Java variables, object properties
MyClassName
All words capitalized, no spaces (Upper Camel Case)
Common use: Class names, constructors, components
my_variable_name
All lowercase with underscores between words
Common use: Python variables, database columns, file names
my-variable-name
All lowercase with hyphens between words
Common use: CSS classes, HTML attributes, URLs, file names
MY_CONSTANT_VALUE
All uppercase with underscores between words
Common use: Constants, environment variables, macros
MY-CONSTANT-VALUE
All uppercase with hyphens between words
Common use: HTTP headers, some configuration files
my.variable.name
All lowercase with dots between words
Common use: Package names, namespaces, configuration keys
All characters in lowercase
Common use: Simple text processing, case-insensitive comparisons
All characters in uppercase
Common use: Headers, emphasis, legacy systems
First letter of each word capitalized
Common use: Titles, headers, proper names
First letter capitalized, rest lowercase
Common use: Sentences, descriptions, user-facing text
my/variable/name
All lowercase with forward slashes between words
Common use: File paths, URLs, hierarchical structures
camelCase
JS variables, propertiesPascalCase
Classes, constructorssnake_case
Python, databaseskebab-case
CSS, URLs, filesUPPER_CASE
Constants, env vars