DEV Community

Discussion on: Should comments in code be considered failures in coding?

Collapse
 
rossdrew profile image
Ross • Edited

Like many of the comments, you are describing comments on problem code. To me that describes a mistake in language choice or expression of the problem in code. Like many of the comments you also seem to be arguing that comments do indicate mistakes but that sometimes it's acceptable. Suggesting that

If you fail, then write a comment; but try not to fail.

Is true.