并且,实现这种技巧最有可能需要代码重构。
And implementing this technique will most likely require code refactoring.
添加注释的动机通常与代码重构一致。
The motivation for writing comments is often same as for refactoring your code.
这种方法也适用于非功能性项目,例如代码重构和自动化整合测试。
This approach was utilized for non-functional items as well, such as code re-factoring and automated integration testing.
你可以做代码重构,做缓存,这些能让你的程序跑的快点。
There are a few things you can do here, like re-factoring and caching, that will help your apps run faster.
开发者可以把这些信息用于进一步的代码重构以提高应用程序的性能。
Developers can use this information for further code refactoring to improve the application's performance.
它不需要对杀毒功能进行配置,支持校验,并且消除了代码重构的需求。
It removes the need to configure sanitizers, supports validators, and eliminates the code-refactoring requirement.
可以通过提高宿主系统的速度或执行代码重构以提高效率,从而改进响应时间。
You can improve response times by increasing the speed of host systems or performing code refactoring to improve efficiency.
改建代码建模过程,以提供针对3gl的工具,例如代码重构,更快速的访问。
The code modeling experience also improved to provide quicker access to the 3gl-specific tools such as code refactoring.
去除重复的解决方案是将代码重构为一个单一的factors类,如清单3所示。
The solution to this type of duplication is to refactor the code into a single Factors class, which appears in Listing 3.
最近这个项目已经扩展为支持强类型化,通过其他一些扩展,强类型化允许高级代码重构。
Recently this has been extended to also support strong typing which with some other extensions allows for advanced code refactoring.
在这种情况下,通常最好将代码重构为一个用户定义的函数,键映射随后就可以调用该函数。
In such cases, it's usually a good idea to refactor the code out into a user-defined function, which the key-mapping can then call.
代码重构是对源代码的简单变更,是在不破坏任何东西,且不添加任何东西的情况下改进设计。
A code refactoring is a simple change to source code which improves the design without breaking anything nor adding anything.
这一策略允许使用强大的代码重构工具,而使用静态类型语言的同样方法来实现此功能则困难得多。
This strategy allows powerful code refactoring tools, which are much more difficult to achieve using the same methods for statically typed languages.
对代码重构的支持看起来和修正代码问题的“快速修正”功能很类似,但是它应用于文本级别。
The support for Code Refactoring looks a lot like the "quick fix" support correction for Code Issues, but it is applied at the text level.
因为最初评估是粗粒度的,还有很大的回旋空间,可以处理紧急设计、代码重构、以及其他技术清洁活动。
Because the initial estimate is so coarse-grained, a fair amount of wiggle room exists to handle emergent design, refactoring, and other technical-hygiene activities.
您或许想要仅在那个范围内推迟新的开发,同时在该部分内偿还技术债务(进行代码重构,更新文档等等)。
You might want to put off new development in only that area while you repay any technical debt in that section (refactoring code, updating documentation, and so on).
JetBrains是重构工具的先行者,所以我们希望Ruby开发者能够有一系列稳定的代码重构工具。
JetBrains is the pioneer in creating refactoring tools, so we wanted Ruby developers to have a set of reliable Ruby code refactorings.
为代码重构所提供的项目模板中并没有包含可用的演示程序,但是在此我们可以使用快速修正教程中所展示的相同技术。
The project template for code refactoring doesn't include a usable demo, but the same techniques shown in the Quick Fix walkthrough can be used here.
通过将我的代码重构为使用集合而非列表,我不但解决了这个问题,而且优化了整个解决方案,因为我现在使用的是更精确的抽象。
By refactoring my code now to use sets instead of lists, I not only fix this problem but make the overall solution better because I'm now using a more accurate abstraction.
不可想象的准确性,以及它没有代码重构的需求,使得它成为监测现存应用程序(通常存在于当前风险中)的一种切实可行的工具。
The out-of-the-box accuracy, and its having no code-refactoring requirements, make it a viable tool for scanning existing applications (which often present very current risks).
多租户有一些不同的设计问题,但是其中不需要进行代码重构就能够解决的一个重要问题是使用一个还是多个存储来保存不同用户的数据。
There are different design considerations for multi-tenancy, but the critical one which can be tackled without code refactoring is addressing single vs. separate storage for different tenants.
您需要进行代码重构的原因可能有以下几个:传说中的第一个原因是:需要继承为某个古老产品而开发的年代久远的代码,或者突然碰到这些代码。
There are several reasons that you might want to refactor code. The first is the stuff of legend: the hoary old code base for a venerable product is inherited or otherwise mysteriously appears.
一个好消息是,代码重构工具被嵌入到现代集成开发环境(integrated development environment,IDE)中了,例如eclipse。
The good news is that code refactoring tools are built into modern integrated development environments (IDEs) such as Eclipse.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
由于我已经通过测试用例捕获了早期需求,我可以轻松地对代码进行重构。
Since I've captured early requirements in the form of test cases, I can easily refactor my code.
这使得我们能够对代码进行重构,不再使用全局变量。
This can open up the possibility of refactoring this code down the road to not use the global variables at all.
工具可以识别错误和有效地重构代码。
Tools can recognize errors and effectively restructure, or refactor, code.
假使项目中的每一个人都在周而复始地重复“写测试,修改代码,重构”,当然有必要使你的测试工作更加有效。
Given that everyone on the team will be going through the "write a test, fix the code, refactor" cycle frequently, it's essential that you can both write and run tests efficiently.
让我们稍微对该段代码进行重构。
应当重构代码以分离各个应用层。
You should refactor the code to separate the various application layers.
应用推荐