事实上,为了成功地执行重构,你需要完整地理解整个问题域,了解需求、设计甚至实现阶段的细节。
The truth is that in order to perform refactoring successfully, you should have full understanding of the problem domain, be aware of requirements, the design and even implementation details.
因为我有所准备,所以看出了问题,并调整我的方法以回到正途:我在重构。
Because I'm prepared, I recognize the problem, and adjust my approach to get back on track: I am refactoring.
对这些问题有一些了解之后,您在稍后可以更加轻松地完成复杂的重构工作。
Having some insight into these issues will alleviate painful and complicated refactoring work later.
That's a lot harder of a problem to solve if you need to reconstruct the fragmentation, yeah.
如果你需要重构这些碎片,会有很多很难的问题等着我们。
应用推荐