News for hackers. Stuff that matters.
Re:I have complicated feelings about TDD by MockObject on Monday August 22, 2022 @11:56AM (#32553270)
You don't write unit tests for heap sort, you write them for sort. Then you get them to pass using heap sort. Later, you replace heap sort with tim sort, and you can write it quickly and with confidence, because the test suite shows you when you've succeeded.

There are no comments on this comment yet.