evade -> avoid
This commit is contained in:
parent
a3472d3944
commit
504e5a7e34
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ function addJuice(container) {
|
|||
|
||||
Once again, functions themselves tell what's going on. There's nothing to comment. And also the code structure is better when split. It's clear what every function does, what it takes and what it returns.
|
||||
|
||||
In reality, we can't totally evade "explanatory" comments. There are complex algorithms. And there are smart "tweaks" for purposes of optimization. But generally we should try to keep the code simple and self-descriptive.
|
||||
In reality, we can't totally avoid "explanatory" comments. There are complex algorithms. And there are smart "tweaks" for purposes of optimization. But generally we should try to keep the code simple and self-descriptive.
|
||||
|
||||
## Good comments
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue