阅读背景:

如果不多次调用代码,您是否应该将代码重构为私有方法?

来源:互联网 

Is it worth extracting private methods for code that only gets called once in a class, or leaving the code in the parent method (maybe) with a comment that says what it does?Is it worth extracting private methods for code




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

分享到: