Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a2e3c4

Browse files
Merge pull request ryanmcdermott#58 from danielstjules/danielstjules-patch-1
Add mention of jsinspect for duplicate code detection
2 parents e9b473f + d6e52d5 commit 4a2e3c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ Never ever, ever, under any circumstance, have duplicate code. There's no reason
384384
for it and it's quite possibly the worst sin you can commit as a professional
385385
developer. Duplicate code means there's more than one place to alter something
386386
if you need to change some logic. JavaScript is untyped, so it makes having
387-
generic functions quite easy. Take advantage of that!
387+
generic functions quite easy. Take advantage of that! Tools like
388+
[jsinpect](https://github.com/danielstjules/jsinspect) can help you find duplicate
389+
code eligible for refactoring.
388390
389391
**Bad:**
390392
```javascript

0 commit comments

Comments
 (0)