HomeEA · Delivery Lifecycle › Naming conventions

Naming conventions

Purpose: Consistent variable naming across organization.

Who this page is for

AudienceWhy it matters to you
ArchitectsDefine naming
EveryoneFollow the rules

Naming Conventions

Consistency prevents confusion and bugs.

Common pattern: [Domain]-[Detail]-[Type]

Examples:

Rules

  1. Lowercase

- form-type (good) - Form_Type (bad)

  1. Hyphens not underscores

- form-type (good) - form_type (bad)

  1. No abbreviations

- form-type (good) - fm-typ (bad)

  1. Consistent across teams

- All teams use "form-type", not some use "formtype"

Document and enforce

---

Next: QA and validation

Quick navigation