DEV Community

Discussion on: Clean Code Applied to JavaScript — Part IV. Comments

Collapse
 
ashleyjsheridan profile image
Ashley Sheridan

My rule for code comments is this: comment only on the 'why' never the 'what', unless the 'what' is a regex, in which case you can comment the hell out of it :P