From be295cba3ef2c018d5a0f979fee986d630812e5d Mon Sep 17 00:00:00 2001 From: jorgesmash Date: Wed, 19 Jul 2017 23:39:03 -0400 Subject: [PATCH] Repeated Word The word "dofference" was repeated. --- 1-js/03-code-quality/04-ninja-code/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/03-code-quality/04-ninja-code/article.md b/1-js/03-code-quality/04-ninja-code/article.md index b276dc92..7ec889f7 100644 --- a/1-js/03-code-quality/04-ninja-code/article.md +++ b/1-js/03-code-quality/04-ninja-code/article.md @@ -101,7 +101,7 @@ Using *similar* names for *same* things makes life more interesting and shows yo 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`). -Insinuate that there's a subtle difference difference between such functions, while there is none. +Insinuate that there's a subtle difference between such functions, while there is none. 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.