Hacker News new | ask | show | jobs
by dspeyer 4812 days ago
> What I don't understand about comments like this is that a whole section of your code, both runtime / deliverable code and test code had become worthless

Not so. The code demonstrated that the first algorithm wasn't good enough and provided the experience needed to write the second one. The tests (hopefully) made the first algorithm's code maintainable, but it turns out there was no need to maintain it.