Comments Rarely Improve Your Code

Written by DocOnDev | Published 2020/05/10
Tech Story Tags: programming | agile-software-development | software-development | code-quality | productivity | coding | optimization | solid-principles

TLDR The debate over comments in code is ongoing over the past 30 years. Most comments are unnecessary and are not intended to improve the code itself. Frustration and jollification are low utility for the reader, but they do nothing to improve code. Comments Rarely improve your code, but often do not improve it, says John Defterios. Comments are often unnecessary and, interestingly enough, give us a clue as to how the code might be more clearly written. Comments should be used to generate a reference manual, he says.via the TL;DR App

no story

Written by DocOnDev | Co-Founder of OnBelay
Published by HackerNoon on 2020/05/10