DEV Community

Discussion on: The Importance of Quality Comments

Collapse
 
andychiare profile image
Andrea Chiarelli

First, write readable code.
Use comments as a last resort where the code cannot be any clearer as it is.
Remember that comments, like documentation, need to be maintained. A misleading comment is more harmful than a poorly written code.