摘要
重构是使软件代码重新组织过程的一个技术.它在代码设计的改善方面有重要作用.根据程序员在工作中应用的实际情况,主要介绍了软件代码重构的概念、原则,从何谓重构、为何重构、重构的难题等几个方面详细介绍了重构技术.
Refactoring is a technique to reorganize software code to form a technical process, which is of great importance to improve the code design. According to the programmers~ practice in the actual situation, this paper mainly introduces the concept and principle of refactoring the software code. The paper describes the refactoring technique in detail by answering the following questions: "what is refactoring", "why we need refactoring", and "the difficulties we meet with in refactoring".
出处
《河北北方学院学报(自然科学版)》
2012年第1期26-29,共4页
Journal of Hebei North University:Natural Science Edition
关键词
软件行为
代码重构
单元测试
对象
software action
code refactoring
unit test
object