News for hackers. Stuff that matters.
Re:Stop Writing Dead Programs (Transcript) by hrbf on Wednesday October 19, 2022 @02:31PM (#33266105)
Indeed. Comments should document intent and – wherever applicable – approaches taken that did NOT work and why. Even awkward code is sometimes okay, if there’s a comment with a clear justification. Saves hours of pointless busywork following down all the paths in a medium to large code base.

There are no comments on this comment yet.