3 ms·
There are improved mocking libraries these days with much more power, so the everything-must-be-an-interface pattern is no longer required most of the time. If
by nitrogen 7y ago
There are improved mocking libraries these days with much more power, so the everything-must-be-an-interface pattern is no longer required most of the time.
If writing testable code means writing obfuscated code, it's a good sign that the language ecosystem needs to improve, and for Java, it has.