重构是在不改变代码结果的前提下改进现有代码的设计。
Refactoring is improving the design of existing code without changing its results.
上一期文章中还讨论了我计划如何改进现有的设计,以便从文件系统中抽象出XM。
In my previous article, I also discusses how I plan to evolve the existing design to abstract XM from the file system.
在改进现有代码的糟糕设计时,第一步是把它改造成您能应付的东西。
The first step in attacking poor design for existing code is to mold it into something you can work with.
应用推荐