Skip to content

Commit

Permalink
add note about commenting out code
Browse files Browse the repository at this point in the history
  • Loading branch information
w33ble committed Sep 17, 2014
1 parent 3cc4a4d commit a9b0137
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a9b0137

Please sign in to comment.