Skip to content

Commit 69bd4b5

Browse files
authored
Update article.md
1 parent 0e89bd3 commit 69bd4b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

1-js/03-code-quality/04-ninja-code/article.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ Let everyone see how magnificent your entities are! Names like `superElement`, `
171171

172172
Indeed, from one hand, something is written: `super..`, `mega..`, `nice..` But from the other hand -- that brings no details. A reader may decide to look for a hidden meaning and meditate for an hour or two.
173173

174+
175+
174176
## Overlap outer variables
175177

176178
```quote author="Guan Yin Zi"
@@ -204,7 +206,7 @@ There are functions that look like they don't change anything. Like `isReady()`,
204206

205207
**A really beautiful trick is to add a "useful" action to them, besides the main task.**
206208

207-
The expression of dazed surprise on the face of your colleague when they see a function named `is..`, `check..` or `find...` changing something -- will definitely broaden your boundaries of reason.
209+
An expression of dazed surprise on the face of your colleague when they see a function named `is..`, `check..` or `find...` changing something -- will definitely broaden your boundaries of reason.
208210

209211
**Another way to surprise is to return a non-standard result.**
210212

0 commit comments

Comments
 (0)