Naming Convention | Example Format |
---|---|
Pascal Case | PascalCase |
Camel Case | camelCase |
Flat Case | flatcase |
Upper Flat Case | UPPERFLATCASE |
Snake Case | snake_case |
Screaming Snake Case | SCREAMING_SNAKE_CASE |
Pascal Snake Case | Pascal_Snake_Case |
Camel Snake Case | camel_Snake_Case |
Kebab Case | kebab-case |
Train Case | Train-Case |
Cobol Case | COBOL-CASE |
The PascalCase convention capitalizes the first letter of each word, with no spaces or underscores between them.
The camelCase convention capitalizes the first letter of each word except the first one, with no spaces or underscores between them.
snake_case is a naming convention where all letters are written in lowercase and each word is separated by an underscore.
kebab-case is a naming convention where all letters are written in lowercase and each word is separated by an hyphen.
flatcase is a naming convention where all characters of each word are written in lowercase with no spaces, hyphens, or underscores between them.
UPPERFLATCASE is a naming convention where all characters of each word are written in uppercase with no spaces, hyphens, or underscores between them.