DEV Community

Discussion on: Identifying the dirt in our code - names, functions, and comments

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Cursory response that avoiding comments isn't the answer; rather, ensure they only state why the code is there, not what it does. (If code and intent-comment ever mismatch, that often indicates a bug that should be addressed.)

Collapse
 
rachc profile image
Rachel Curioso :D

You made a very good point
Great article, by the way (: