Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.59 KB

namingconventions.md

File metadata and controls

56 lines (37 loc) · 1.59 KB

Naming Conventions

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

Pascal Case

The PascalCase convention capitalizes the first letter of each word, with no spaces or underscores between them.

Camel Case

The camelCase convention capitalizes the first letter of each word except the first one, with no spaces or underscores between them.

Snake Case

snake_case is a naming convention where all letters are written in lowercase and each word is separated by an underscore.

Kebab Case

kebab-case is a naming convention where all letters are written in lowercase and each word is separated by an hyphen.

Flat Case

flatcase is a naming convention where all characters of each word are written in lowercase with no spaces, hyphens, or underscores between them.

Upper Flat Case

UPPERFLATCASE is a naming convention where all characters of each word are written in uppercase with no spaces, hyphens, or underscores between them.

Pascal Snake Case

Camel Snake Case

Screaming Snake Case

Train Case

Cobol Case