Case Styles

Case styles are how one names variables, class names, etc. in code. Normally pertains to capitalization, spaces, and special characters.

Types

Name Capitalization Spaces Example
Camel Case lowercase first letter with all following words capitalized none thisIDIs64Bit
Kebab Case all words lowercase hyphens this-id-is-64-bit
Pascal Case all words capitalized none ThisIDIs64Bit
Snake Case all words lowercase, except proper nouns and acronyms underscore this_ID_is_64_bit

Last modified: 202111070231