Read CodeComplete2. It is the bible for programmers on this subject.
In summary:
Comments should not be pseudo code.
Comments should not paraphrase code.
Comments should add value to a code section, where it is not immediately obvious to a competent programmer what is going on.
In summary:
Comments should not be pseudo code.
Comments should not paraphrase code.
Comments should add value to a code section, where it is not immediately obvious to a competent programmer what is going on.
Comment