并且,实现这种技巧最有可能需要代码重构。
And implementing this technique will most likely require code refactoring.
开发者可以把这些信息用于进一步的代码重构以提高应用程序的性能。
Developers can use this information for further code refactoring to improve the application's performance.
重构可以帮助你赢回对代码的支配权。
Refactoring will help you win back the command over your code.
重构的优点是程序员可以更轻松地维护代码。
A benefit of refactoring is that the code is probably easier for programmers to maintain.
重构的目的是改善现有代码的设计。
The point of refactoring is to improve the design of existing code.
我个人认为,对于测试这样的代码,重构是远胜于mocks的工具。
My personal opinion is that refactoring is a far superior tool to test such code.
我们重构不够,代码质量不断恶化,我们失去的越来越多。
We are not refactoring enough, the code deteriorates, we lose more and more.
提供用于修复代码味道的重构和模式(在某些情况下)。
Present the refactoring and, in some cases, the patterns to fix the code smell.
重要的是要记住重构与重写代码明显不同。
It's important to remember that refactoring is markedly different from rewriting code.
另一方面,这需要大量重构现有代码。
On the other hand, it can lead to big refactorings of existing code.
阅读更多关于使用ReSharper重构C#和VB.net代码的内容
Read more about refactoring C# and VB.NET code with ReSharper »
该重构启用清单1中所示的单元测试代码。
This refactoring enables the unit test code shown in Listing 1.
提供一些培训,包括代码的坏味道,重构,单元测试和测试驱动开发等。
Provide training that covers Code Smells, Refactoring, Unit Test and Test Driven Development.
他在进行重构时信心满满,因为项目拥有广泛的代码覆盖率。
He did that with serene confidence because the project had comprehensive code coverage.
这些重构工作真正重要的益处是得到了可重用的代码。
The really important benefit of this exercise is the ability to harvest reusable code.
对任何项目来说,值得称赞的一点就是拥有可以轻松进行重构的代码库。
A laudable goal for any project is a code base that is easy to refactor.
您可以重构代码以简化样式表。
You can refactor the code to make the stylesheet much simpler.
重构代码。
让我们稍微对该段代码进行重构。
应当重构代码以分离各个应用层。
You should refactor the code to separate the various application layers.
为了让这个程序进行双缓冲,需要对代码略加重构。
To make this program double-buffered, you need to refactor the code slightly.
可以重构库代码创建更好的连接点模型。
Base code is refactored to create a better join point model.
在构建该样式表之前,我们来查看一下如何重构代码。
Before you build that stylesheet, let's look at how to refactor the code.
重构您的原始代码,使其看起来如下所示。
重构后的客户机代码如清单4所示。
单元测试使您能够安全地重构代码。
但是我更愿意重构已有的代码。
如何实现可以进行重大重构的代码库?
How do you get your code base in a place where major refactorings are possible?
重构会是一个比从头生成新测试代码更乏味的过程。
Refactoring is a more tedious procedure than generating new test code from scratch.
他们重构代码,让代码更加易于测试。
应用推荐