updated coding guide
This commit is contained in:
parent
d829aa101a
commit
0787eff1d7
@ -16,15 +16,19 @@ or
|
||||
|
||||
# 2 Naming
|
||||
## 2.1 General
|
||||
Names should only include ASCII letters and digits and should never begin with a digit.
|
||||
All names should _ALWAYS_ be in english
|
||||
Names should only include ASCII letters and digits. They should never begin with a digit.
|
||||
All names should _ALWAYS_ be in english.
|
||||
|
||||
## 2.2 Class names
|
||||
Class names are written in UpperCamelCase
|
||||
Class names are written in UpperCamelCase.
|
||||
|
||||
## 2.3 Method names
|
||||
Class names are written in lowerCamelCase.
|
||||
They are often verbs describing the function of the method e.g. _startProcess_ or _log_
|
||||
Method names are written in lowerCamelCase.
|
||||
They are often verbs describing the function of the method e.g. _startProcess_ or _log_.
|
||||
|
||||
## 2.4 Constant names
|
||||
Constant names are written in UPPER_CASE
|
||||
Constant names are written in UPPER_CASE.
|
||||
|
||||
## 2.5 Variable names
|
||||
Variable names are written in lowerCamelCase.
|
||||
The names should _ALWAYS_ be describing words.
|
||||
|
Loading…
Reference in New Issue
Block a user