DEV Community

Discussion on: My take on commenting code - Explain why, not how

Collapse
 
nombrekeff profile image
Keff • Edited

Fantastic reason, thanks for sharing!

And a really nice point, adding comments when refactoring, renaming or creating a new method is not possible, for example for 3rd party libraries, as you mentioned! This would fall into the "comment why not how" idea, as you can't control the how in this case.