News for hackers. Stuff that matters.
Re:Good code needs few unit tests by ekiru on Saturday March 20, 2010 @03:31PM (#1206852)
That interface is certainly inconvenient to use, and potentially quite dangerous without a clearParameters().

It's not at all a rebuttal of the article, though. The article points out that the number of unit tests a design requires is larger for more complicated designs. An interface like yours would require no fewer tests than another interface exposing the same functionality using conventional function calls.

There are no comments on this comment yet.