News for hackers. Stuff that matters.
Re:Code doesn’t have to be a mess by dasil003 on Monday July 25, 2022 @11:08AM (#32225428)
Be careful with this. Unit tests don't tell you much about the correctness of a system overall, and they rarely survive a substantial refactoring. Optimizing for unit testability can make individual classes/functions "simple" but at the expense of creating a ton of them and pushing the complexity to the interfaces and integration between them.

There are no comments on this comment yet.