Should code comments have scope?
Posted
by
Rig Veda
on Programmers
See other posts from Programmers
or by Rig Veda
Published on 2011-11-23T09:58:12Z
Indexed on
2011/11/24
18:18 UTC
Read the original article
Hit count: 332
programming-languages
|comments
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.
© Programmers or respective owner