Re:Please do not attempt to simplify this code
by knappe on Wednesday August 07, 2024 @12:43PM
(#41183070)
So I actually find this helpful because if the why doesn't match the what (code), I know to look back at the history of changes and see why there is a mismatch. This is honestly a great signal that something might have gone sideways in the past while I'm trying to triage a bug or whatever. So even if the comments are out of date, they're still helpful, because I know to go look at why they're out of sync.
[ Parent
| on HN ]
Re:Please do not attempt to simplify this code
by marcus_holmes on Wednesday August 07, 2024 @08:49PM
(#41187027)
really good point, and well worth mentioning in the "code should be self-documenting and comments are unnecessary" debate.