paint-brush
Comments: The Good, the Bad and the Uglyby@renanb
125 reads

Comments: The Good, the Bad and the Ugly

by Renan Botasse4mApril 3rd, 2024
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

TLDR: Effective code comments serve to elucidate the reasoning behind code design choices, rather than merely describing its functionality while avoiding redundancy and confusion. They should be concise yet informative, providing clarity for non-obvious code segments and explanations for unconventional approaches. Following established rules such as avoiding code duplication and ensuring comments do not obscure unclear code is essential.
featured image - Comments: The Good, the Bad and the Ugly
Renan Botasse HackerNoon profile picture
Renan Botasse

Renan Botasse

@renanb

Making diamonds with Javascript

L O A D I N G
. . . comments & more!

About Author

Renan Botasse HackerNoon profile picture
Renan Botasse@renanb
Making diamonds with Javascript

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