News for hackers. Stuff that matters.
Re:I’m a productive programmer with a memory of a fruit fly by tablespoon on Monday September 19, 2022 @07:59PM (#32905818)
> And the latter is a perfect example of what goes wrong, when someone adds "gov" to the regex but doesn't notice the comment to update it.

That always gets trotted out, but it's sort of like "don't write code unless you can guarantee the code won't have any bugs, so never write any code."

The trick is write code and comments, but be a little skeptical of both. If you're disciplined (especially with commit messages), it's usually pretty easy to figure out a mistake or omission after the fact.

There are no comments on this comment yet.