Abstract:
Refactorng is one of the research focuses and best practices in object-oriented community. This paper specifies refactoring from the perspectives of the definition, when to refactor, how to refactor. In addition, it presents an example to show the process of refactoring.
摘要: 重构已经成为面向对象领域中的研究热点与最佳实践之一。该文从重构的定义、重构的作用、什么时候进行重构、如何进行重构等几个方面详细介绍了重构技术,并给出了代码示例,演示重构的过程。
关键词:
重构,
面向对象,
单元测试
CLC Number:
XU Wenbo1, HUA Qibing2, FEI Na3. Object-oriented Software Refactoring[J]. , 2005, 31(05): 90-92.
许文波,华奇兵,费娜. 面向对象的软件重构[J]. , 2005, 31(05): 90-92.