added new naming conventions
This commit is contained in:
parent
701040606e
commit
6fe4eb0bbd
@ -2,12 +2,14 @@
|
|||||||
# 2 Naming
|
# 2 Naming
|
||||||
## 2.1 General
|
## 2.1 General
|
||||||
Names should only include ASCII letters and digits and should never begin with a digit.
|
Names should only include ASCII letters and digits and should never begin with a digit.
|
||||||
|
All names should _ALWAYS_ be in english
|
||||||
|
|
||||||
## 2.2 Class names
|
## 2.2 Class names
|
||||||
Class names are written in UpperCamelCase
|
Class names are written in UpperCamelCase
|
||||||
|
|
||||||
## 2.3 Method names
|
## 2.3 Method names
|
||||||
Class names are written in lowerCamelCase.
|
Class names are written in lowerCamelCase.
|
||||||
They are often verbs describing the function of the method.
|
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
|
Loading…
Reference in New Issue
Block a user