现代计算机(普及版)2015,Issue(1) :51-54.DOI:10.3969/j.issn.1007-1423.2015.02.013

代码重构的作用和时机

Effect and Opportunity of Code Refactoring

金戈
现代计算机(普及版)2015,Issue(1) :51-54.DOI:10.3969/j.issn.1007-1423.2015.02.013

代码重构的作用和时机

Effect and Opportunity of Code Refactoring

金戈1
扫码查看

作者信息

  • 1. 广州赛宝认证中心,广州 510610
  • 折叠

摘要

软件的修改会不断地产生技术债务,而重构是偿还技术债务的有效方法。对代码重构的作用进行归纳,体现在改进软件设计,帮助理解代码、发现缺陷和提升效率等方面;并分析在添加新功能、修改错误和代码评审这三个重构的时机。

Abstract

Code refactoring is an effective method to repay technical debt, which caused by the modification to software. Sums up the effects of code refactoring, including improving software design, helping code understanding, defect discovery and increasing efficiency. Analyzes three opportunities for refactoring:while adding new functions, fixing defects, and code review.

关键词

代码重构/软件/技术债务

Key words

Code Refactoring/Software/Technical Debt

引用本文复制引用

出版年

2015
现代计算机(普及版)
中山大学

现代计算机(普及版)

影响因子:0.202
ISSN:1007-1423
被引量1
参考文献量1
段落导航相关论文