Should code comments have scope?
- by Rig Veda
I am asking this because I have seen places where, whoever coded initially had provided proper comments, but later on modifications were made to the code but the comments were left untouched. I remember reading somewhere " Don't get suckered in by the comments, debug only code".
So is it a good/ relevant/ practical idea that tells the scope of the comments so as to prompt the developer for editing the comment.
Your thoughts.