Skip to content

Naming conventions

Dirk Riehle edited this page Dec 19, 2024 · 1 revision

General

  • We use CamelCase as is customary with TypeScript
  • Generally well known TS rule override the CamelCase requirements e.g. THIS_CONSTANT
  • Abbreviations like DB for Database remain all CAPS within a word (i.e. not "Db")

Method names

  • Follow verbObject pattern, e.g. "initializeDB" where the object is optional

Class names

  • Follow ClassName pattern e.g. "CourseSchedule"

Clone this wiki locally