阅读背景:

接口和工厂引入的间接如何影响性能?

来源:互联网 

I would like to improve testability of some legacy code. To achieve this, I am introducing interfaces for existing classes (and have existing classes implement those) and factories that create an instance of a test object or an object of the original class, depending on some configuration setting.I would like to improve testability of some leg




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: