Re:I’m a productive programmer with a memory of a fruit fly
by AlotOfReading on Monday September 19, 2022 @11:27PM
(#32907316)
The number of times I've seen obscure code that would have been elucidated by a good comment is vastly higher than the number of times I've seen outdated comments.
Funnily enough, most of the outdated comments I can remember were dead docs links despite that being a very common 'solution' to the problem of outdated comments.
Re:I’m a productive programmer with a memory of a fruit fly
by osigurdson on Tuesday September 20, 2022 @02:50PM
(#32916175)
My experience is the opposite for the most part.
Re:I’m a productive programmer with a memory of a fruit fly
by AlotOfReading on Tuesday September 20, 2022 @05:41PM
(#32918175)
We might read different kinds of code, perhaps? I do lots of systems work where obscure hacks to work around toolchain and hardware issues are common.
On larger teams the likelihood than comments get out of date is probably higher - particularly if the original comment was very long and detailed and the original author has moved on.