重构,重构的概念,和重构的方法.pptVIP

  • 19
  • 0
  • 约7.26千字
  • 约 63页
  • 2018-01-01 发布于浙江
  • 举报
重构,重构的概念,和重构的方法

Refactoring Agenda 什么是重构(What) 为什么需要重构(Why) 何时进行重构(When) 如何进行重构(How) 一些重要常用的重构方法(How many) 通过重构来引入模式(The End) 什么是重构 重构就是在不改变外部行为的条件下对现有代码进行修改的过程 也就是对在工作的代码进行改进,做而不是增加新的功能。 为什么进行重构 更简单的设计 代码更加简洁易懂 提升结构设计,更具扩展性 帮助你找到并减少bug 帮助你加快编码速度 题外话:重构已经是程序员必备技能之一 几道家庭作业 “Refactoring may be the single most important technical factor in achieving agility” (Jim Highsmith, Agile Software Development Ecosystems, page 155) “Refactoring is like continuing repair of a living system. The goal is to stay within reasonable operating limits with limited continual damage. By staying within these limits you keep co

文档评论(0)

1亿VIP精品文档

相关文档