Do you have any tips for commenting code?

Posted by Rob Wells on Stack Overflow See other posts from Stack Overflow or by Rob Wells
Published on 2010-04-10T22:09:25Z Indexed on 2010/04/10 22:13 UTC
Read the original article Hit count: 391

Filed under:
|
|

G'day,

I've read both of Steve McConnell's excellent Code Complete books "Code Complete" and "Code Complete 2" and was wondering if people have any other suggestions for commenting code.co

My commenting mantra could be summed up by the basic idea of expressing "what the code below cannot say".

While enjoying this interesting blog post by Jeff about commenting I was still left wondering "When coding, when do you feel a comment is required?"

© Stack Overflow or respective owner

Related posts about Development

Related posts about comments