Skip to content

Commit e88717b

Browse files
authored
Update article.md
typo: line 104 : difference difference
1 parent 7ef8f49 commit e88717b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Using *similar* names for *same* things makes life more interesting and shows yo
101101

102102
For instance, consider function prefixes. If a function shows a message on the screen -- start it with `display…`, like `displayMessage`. And then if another function shows on the screen something else, like a user name, start it with `show…` (like `showName`).
103103

104-
Insinuate that there's a subtle difference difference between such functions, while there is none.
104+
Insinuate that there's a subtle difference between such functions, while there is none.
105105

106106
Make a pact with fellow ninjas of the team: if John starts "showing" functions with `display...` in his code, then Peter could use `render..`, and Ann -- `paint...`. Note how much more interesting and diverse the code became.
107107

0 commit comments

Comments
 (0)