News for hackers. Stuff that matters.
Re:Go: What We Got Right, What We Got Wrong by zimpenfish on Friday January 05, 2024 @03:55AM (#38877087)
> But don't those exist primarily for unit testing?

I believe that's why people insert them everywhere, yes, but in the codebases I'm talking about, many (I'd say the majority, to be honest) of the interfaces aren't used for testing because they've just been cargo-culted rather than actually considered.

(Obviously this is with hindsight - they may well have been considered at the time but the end result doesn't reflect that.)

There are no comments on this comment yet.