News for hackers. Stuff that matters.
Re:Reducing technical debt by valuing comments as much as code by wkdneidbwf on Tuesday January 31, 2023 @09:46PM (#34605672)
i mean, this is actually perfectly clear—in the sense it’s clearly and obviously a mistake either with the comment and function name or it’s implementation. the example isn’t great because it’s devoid of context that might indicate what specifically is wrong with it.

there are many standard means that should catch this: code reviews, unit tests, etc.

this stuff can obviously still sneak through, but i don’t think this is a good example of what folks are generally talking about here.

There are no comments on this comment yet.