Static Methods are Death to Testability
<<by MiÅ¡ko Hevery Recently many of you, after reading Guide to Testability , wrote to telling me there is nothing wrong with static methods. After all what can be easier to test than Math.abs() ! And Math.abs() is static method! If abs() was on instance method, one would have to instantiate …>> (more…)
See original post by Chris Gilmer