Skip to content

Commit 6ba868b

Browse files
authored
Update article.md
Line 388 word smithing.
1 parent 99bc9bf commit 6ba868b

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)