mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
add note about commenting out code
This commit is contained in:
parent
3cc4a4d500
commit
a9b01376e2
1 changed files with 4 additions and 0 deletions
|
@ -617,6 +617,10 @@ if (isSessionValid) {
|
|||
}
|
||||
```
|
||||
|
||||
## Do not comment out code
|
||||
|
||||
We use a version management system. If a line of code is no longer needed, remove it, don't simply comment it out.
|
||||
|
||||
## Classes/Constructors and Inheritance
|
||||
|
||||
While JavaScript it is not always considered an object-oriented language, it does have the building blocks for writing object oriented code. Of course, as with all things JavaScript, there are many ways this can be accomplished. Generally, we try to err on the side of readability.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue