paint-brush
Comments Rarely Improve Your Codeby@DocOnDev
268 reads

Comments Rarely Improve Your Code

by Doc Norton3mMay 10th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

Company Mentioned

Mention Thumbnail
featured image - Comments Rarely Improve Your Code
Doc Norton HackerNoon profile picture
Doc Norton

Doc Norton

@DocOnDev

Co-Founder of OnBelay

About @DocOnDev
LEARN MORE ABOUT @DOCONDEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Doc Norton HackerNoon profile picture
Doc Norton@DocOnDev
Co-Founder of OnBelay

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Knowledia
Pipfeed
Startupnchill
Aryan