DEV Community

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

Collapse
 
auroratide profile image
Timothy Foster

Code comments are intended to add more context to your codebase, in case the code itself is not enough

Completely agree! Or as I like to put it, comments tell you what code can't tell you.

Collapse
 
nombrekeff profile image
Keff

Nice way to put it, might use it in the future ;)