并且,实现这种技巧最有可能需要代码重构。
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.
我们重构不够,代码质量不断恶化,我们失去的越来越多。
We are not refactoring enough, the code deteriorates, we lose more and more.
按照我的观点,重构就是改进已经改进的代码的行为。
In my opinion, refactoring is the act of improving code that has already been improved.
重构可以帮助你赢回对代码的支配权。
Refactoring will help you win back the command over your code.
重构代码是被程序员忽略的训练,但却是程序员最直观的想法。
Refactoring code is a neglected programmer discipline, but an intuitive programmer idea.
提供一些培训,包括代码的坏味道,重构,单元测试和测试驱动开发等。
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.
重要的是要记住重构与重写代码明显不同。
It's important to remember that refactoring is markedly different from rewriting code.
这些重构工作真正重要的益处是得到了可重用的代码。
The really important benefit of this exercise is the ability to harvest reusable code.
为了让这个程序进行双缓冲,需要对代码略加重构。
To make this program double-buffered, you need to refactor the code slightly.
重构的目的是改善现有代码的设计。
The point of refactoring is to improve the design of existing code.
另一方面,这需要大量重构现有代码。
On the other hand, it can lead to big refactorings of existing code.
对任何项目来说,值得称赞的一点就是拥有可以轻松进行重构的代码库。
A laudable goal for any project is a code base that is easy to refactor.
程序员总是在不断的修剪(重构)代码,以使它们尽可能地高效。
Programmers are constantly benchmarking code to make sure that it’s as efficient as possible.
重构的优点是程序员可以更轻松地维护代码。
A benefit of refactoring is that the code is probably easier for programmers to maintain.
可以重构库代码创建更好的连接点模型。
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.
让我们稍微对该段代码进行重构。
就所期望的可扩展性对代码进行多次重构。
The code was refactored several times with extensibility in mind.
应当重构代码以分离各个应用层。
You should refactor the code to separate the various application layers.
您可以重构代码以简化样式表。
You can refactor the code to make the stylesheet much simpler.
重构代码。
该重构启用清单1中所示的单元测试代码。
This refactoring enables the unit test code shown in Listing 1.
提供用于修复代码味道的重构和模式(在某些情况下)。
Present the refactoring and, in some cases, the patterns to fix the code smell.
我个人认为,对于测试这样的代码,重构是远胜于mocks的工具。
My personal opinion is that refactoring is a far superior tool to test such code.
重构现有代码满足业务目标,也是由上下文环境来驱动的。
Refactoring existing code to meet business goals is also context driven. Consider.
阅读更多关于使用ReSharper重构C#和VB.net代码的内容
Read more about refactoring C# and VB.NET code with ReSharper »
重构后的客户机代码如清单4所示。
重构您的原始代码,使其看起来如下所示。
应用推荐