DEV Community

Discussion on: 7 Tips For Clean Code

Collapse
davids89 profile image
David

About tip number 1. I think if you code is clean enough, you don't need comments.

Collapse
jonrandy profile image
Jon Randy • Edited on

Look again, the code shows an example of what not to do

Collapse
akashshyam profile image
Akash Shyam Author

Sometimes, some code blocks will be quite complex and comments will help another dev to scan through the code quickly.