读书笔记——重构 Refactoring: Imp... ... 分解长方法,将片段移到合适的类中去。(split up the long method and move the pieces to better classes) 第一步:抽取方法(Extract Method) 注意:在Refactor时,每次进行小的改变,这将有利于及时发现Bug。 ...
基于6个网页-相关网页
第一步抽取方法
The first step is the extraction method
以上为机器翻译结果,长、整句建议使用 人工翻译 。
应用推荐
模块上移
模块下移
不移动