|
|
|
|
|
by AlisdairO
4343 days ago
|
|
> Programmers can’t realistically maintain them. Why not? The effort involved is not very high. If you mean that they won't maintain them, well, I agree. Sometimes I fail to do so myself - but that's my laziness, not because keeping a comment up to date is actually difficult. The fact that programmers can be lazy is why we put processes in place to catch ourselves - code reviews, code style enforcement, and so on. |
|
Because, realistically developers will be lazy. For example:
"Sometimes I fail to do so myself - but that's my laziness"
> code reviews
So, here is the thing, "programmers can be lazy." Programmers can also miss things. Code reviews don't catch everything.
So, when someone says "programmers can’t realistically maintain them", they are being realistic. Really. It's great to be hopeful, but the simple fact is, you can't trust that comments are maintained.