News for hackers. Stuff that matters.
Re:So Singletons are bad, then what? by jdmichal on Thursday January 30, 2014 @12:20PM (#7151851)
I find the biggest barrier to unit tests is not noticing when it's more appropriate to create a public static function (probably on another class) instead of a private one. If a private method is so complex that you cannot appropriately test it using the public interface, then it really needs to be its own entity.

There are no comments on this comment yet.