DEV Community

Discussion on: To comment or not to comment?

Collapse
 
laurieontech profile image
Laurie

It’s definitely based on personal discretion.

I think hard fought code that results in a simple solution doesn’t necessarily need a comment. But code that wasn’t intuitive to write is probably not intuitive to read, so that context and explanation is helpful.