|
|
|
|
|
by olavk
3154 days ago
|
|
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. |
|