Re:Is TDD Dead? (2014)
by wrs on Wednesday August 26, 2020 @05:59PM
(#24287779)
In reality I tend to do both: write example client code to think through the abstraction (some call this “README-driven development”) and then write tests once the implementation is under way. Though you can get the first as a side effect of the second, I find that good tests aren’t really good example code (too fragmented, focus on edge cases, etc.).
[ Parent
| on HN ]
There are no comments on this comment yet.