Skip to content

Commit a662c36

Browse files
authored
Merge pull request #16 from moojjoo/patch-1
Update article.md
2 parents 046385d + 6ba868b commit a662c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ These are exceptions. Generally functions names should be concise, but descripti
385385

386386
## Functions == Comments
387387

388-
Functions should be short and do exactly one thing. If that thing is big, maybe it's worth to split the function into few smaller functions. Sometimes following this rule may be not easy, but it's a definitely good thing.
388+
Functions should be short and do exactly one thing. If that thing is big, maybe it's worth to split the function into few smaller functions. Sometimes following this rule may not be that easy, but it's a definitely good thing.
389389

390390
A separate function is not only easier to test and debug -- its very existence is a great comment!
391391

0 commit comments

Comments
 (0)