VPR-Docs/Docs/coding guide.md

15 lines
444 B
Markdown
Raw Normal View History

2021-11-16 10:46:07 +01:00
# Formatting
# 2 Naming
## 2.1 General
Names should only include ASCII letters and digits and should never begin with a digit.
2021-11-16 11:03:05 +01:00
All names should _ALWAYS_ be in english
2021-11-16 10:46:07 +01:00
## 2.2 Class names
Class names are written in UpperCamelCase
## 2.3 Method names
Class names are written in lowerCamelCase.
2021-11-16 11:03:05 +01:00
They are often verbs describing the function of the method e.g. _startProcess_ or _log_
2021-11-16 10:46:07 +01:00
2021-11-16 11:03:05 +01:00
## 2.4 Constant names
Constant names are written in UPPER_CASE