Comments
Avoid.
Comments on a code usually bring more evil than good. Most of the times, a comment about what a variable does, or details of how the things work could:
Become outdated, confusing your future self (Yesterday I lost some precious time because of an outdated comment)
Could be replaced for some better named variable/function/class.
They pollute the code unnecessarily.
It should be clear that avoid != forbid.
Last updated
Was this helpful?