DEV Community

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

Collapse
 
moopet profile image
Ben Sinclair

Business logic, links to API documentation, annotation (code-in-comments, ugh, but required for some frameworks), that sort of thing.

There's nothing wrong with comments, but if they're explaining something that should be obvious, go ahead and refactor it to be obvious.

Collapse
 
rossdrew profile image
Ross

All of that sounds more like API documentation than comments in code though.