重构改善既有代码的设计-Refactoring:Improving the Design of Existing Code
在不改变代码外在行为的前提下对代码做出修改,以改进 代码内部结构的过程。 Refactoring is the process of changing a software system in such a way that it does not alter theexternal behavior of the code yet improves its internal structure. 任何傻瓜都可以写出计算机理解的代码。 只有写出能被人类所理解的代码,才是优秀的程序员 重构可以改进软件的设计 重构让软件变得易于理解 重构可以帮助你发现Bug 重构可以帮助你更快地编程