File tree
Expand file treeCollapse file tree1 file changed
+4
-1
lines changed Expand file treeCollapse file tree1 file changed
+4
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -72,7 +72,10 @@ getUser();
|
72 | 72 | We will read more code than we will ever write. It's important that the code we
|
73 | 73 | do write is readable and searchable. By *not* naming variables that end up
|
74 | 74 | being meaningful for understanding our program, we hurt our readers.
|
75 |
| -Make your names searchable. |
| 75 | +Make your names searchable. Tools like |
| 76 | +[buddy.js](https://.com/danielstjules/buddy.js) and |
| 77 | +[ESLint](https://.com/eslint/eslint/blob/660e0918933e6e7fede26bc675a0763a6b357c94/docs/rules/no-magic-numbers.md) |
| 78 | +can help identify unnamed constants. |
76 | 79 |
|
77 | 80 | **Bad:**
|
78 | 81 | ```javascript
|
|
You can’t perform that action at this time.
0 commit comments