News for hackers. Stuff that matters.
Re:Ask HN: What are the “best” codebases that you've encount... by teyc on Monday July 29, 2019 @05:14PM (#20559535)
Comments are usually less prone to logic bugs. When fixing issues, if the code behaves opposite to what the comment says, it can be a very helpful clue.
Re:Ask HN: What are the “best” codebases that you've encount... by rorychatt on Monday July 29, 2019 @06:07PM (#20559969)
An argument can be made that this is what Test Driven Development is here to solve. State intent in the test, not the comment.

That said, I agree it can be a helpful contextual clue.