DEV Community

Discussion on: To comment or not to comment?

Collapse
 
ashrafsada profile image
AshrafSada • Edited

My personal rule is add comment if you have value to add to the code user, assuming you are documenting your main code properly by illustration on functionality and parametric dimensions of each code unit.

Too many comments is bad and confusing, may lead to negative effects.

TODOS should be aligned and self explained.