Wednesday, June 27, 2007

Ideal Programming Comments

Leaving proper and abundant comments in code has always been one of the most repeated programming tips.

We were discussing the inadequate commenting practice among team members at work, when I had this to say:

Ideally, comments left in a program should be such that if you filter out/hide all the code and read only the comments, that should give you a good idea of the logic of the program.