News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by olavk on Friday October 27, 2017 @01:17PM (#15570349)
Yeah there is some cargo cult aversion towards statics.

Static methods with no side effect are wonderful, but static state is really bad and static methods which perform IO are horrible because they cannot be mocked in a unittest.

But some people miss this distinction and just say static methods are bad for testing.

There are no comments on this comment yet.