DEV Community

Discussion on: Do Code Comments Deserve a Special Spot or Can Well-Written Code Speak for Itself?

Collapse
 
vsaulis profile image
Vladas Saulis • Edited

Yeah, comments are double strain. If you comment each line of code - the result will be messed code. On the other hand no comments at all also a bad thing. The optimum amount of comments is about 10% of codelines, or even only in critical places. And these comments should be only to myself, not to the public.