mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2025-04-18 15:13:34 +00:00
Fix typo in "Remove dead code" section
This commit is contained in:
parent
9e492d26a7
commit
60c29e4c8e
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ for (let i = 0; i < list.length; i++) {
|
|||
### Remove dead code
|
||||
|
||||
Dead code is just as bad as duplicate code. There's no reason to keep it in your codebase.
|
||||
If it's not being called, get rid of it! It will still be safe in your version history if you still need it.
|
||||
If it's not being called, get rid of it! It will still be saved in your version history if you still need it.
|
||||
|
||||
**Bad:**
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue