Hacker News new | ask | show | jobs
by marmaduke 3049 days ago
isn’t this like saying quality code is code that is correct without unit tests? They seem unrelated
2 comments

They are related in that quality code is code that is both correct now and can easily be made correct when things change--and things always change. Unit tests are what enable correctness in the future.
Or more like, you write unit tests even if no one asked you to.