Skip to content

Commit 1ec89f2

Browse files
committed
chore: add coding rules
1 parent ec837c7 commit 1ec89f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CODING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
iTowns needs `nodejs` (10+) and `npm` (at least 6.x) installed on the system.
44
See the [node website](https://nodejs.org) to install node and npm.
55

6-
## Coding
6+
## Coding rules
77

88
* Search and use existing methods to avoid duplicate code
99
* Avoid instance `class/object` in method (optimization with the garbage collector)
1010
* Give explicite name to constants
1111
* Avoid duplicate code and encapsulate to simplify
1212
* For performance reasons, update objects only when needed
13+
* Don't add dead code
14+
* Remove obsolete comments
1315

1416
## Building
1517

0 commit comments

Comments
 (0)