Hacker News new | ask | show | jobs
by ciniglio 4429 days ago
Testing algorithms is easy, yes, but it's usually not clear that TDD would lead you to design the optimal algorithm.
1 comments

It would not, but good tests will let you verify the correctness of the algorithm without deploying your software to customers. Which frees you up to try more experimental things without ruining the experience of the users.