We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec837c7 commit 1ec89f2Copy full SHA for 1ec89f2
CODING.md
@@ -3,13 +3,15 @@
3
iTowns needs `nodejs` (10+) and `npm` (at least 6.x) installed on the system.
4
See the [node website](https://nodejs.org) to install node and npm.
5
6
-## Coding
+## Coding rules
7
8
* Search and use existing methods to avoid duplicate code
9
* Avoid instance `class/object` in method (optimization with the garbage collector)
10
* Give explicite name to constants
11
* Avoid duplicate code and encapsulate to simplify
12
* For performance reasons, update objects only when needed
13
+* Don't add dead code
14
+* Remove obsolete comments
15
16
## Building
17
0 commit comments