摘要
重构已经成为面向对象领域中的研究热点与最佳实践之一,从重构的定义、什么时候进行重构、重构的目标、如何进行重构、重构与极限编程等几个方面详细介绍了重构技术,并给出了代码示例,演示重构的过程。
Refactoring has been one of the research focuses and best practices in object-orientation community.This paper specifies refactoring from the perspectives of the definition,the time of refactoring,refactoring goals,the way of refactoring and the relationship between refactoring and extreme programming(XP).In addition,it presents an example to show the process of refactoring.
出处
《重庆邮电学院学报(自然科学版)》
2004年第2期96-100,共5页
Journal of Chongqing University of Posts and Telecommunications(Natural Sciences Edition)
关键词
重构
面向对象
极限编程
单元测试
Refactoring
object-orientation
extreme programming
unit test