DEV Community

loading...

Discussion on: The Importance of Quality Comments

Collapse
peterfication profile image
Peter Gundel

It's definitely true that comments are important. On average, I think I have to add more comments to my code than I do most of the time. So I'm on the same page here.

However, I think that you could have chosen a better example to compare commented/not-commented code. I mean the commented example is coded nicely. The not/bad-commented example is a very complex function that no one should have to work with ...

Forem Open with the Forem app