闭包能够大大简化代码的另一个地方是泛化算法的使用。
Another place where closures offer an opportunity to dramatically simplify code is in the use of generic algorithms.
通过用匿名函数来替换正式函数定义,您可简化代码。
By replacing formal function definitions with anonymous functions, you simplify code.
OpenNTF联盟希望尽可能简化代码在各种用途下的重用。
The OpenNTF Alliance wants to make the code as easy to reuse as possible for all purposes.
在周三我在那个网站上尽可能地,简化代码的时候,我有点偷懒。
I was being a little lazy on Wednesday in the interest of simplifying the code as much as possible.
可以打开相应模块或一个或多个命名空间以简化代码。
You can open the module or one or more of the namespaces to simplify the code.
要理解对代码的读取操作要远比写入操作多,因此简化代码很重要。
Understand that code is read far more than it is written, so simplifying code is important.
要简化代码,请分配通过REST联合检索的相同状态代码的图标。
To simplify the code, assign the ICONS the same status code retrieved by the REST syndication.
不过,用任何语言反简化代码的最快方式都是一次编写大量的代码。
The quickest way to de-simplify your code in any language, however, is to write too much of it at once.
但是,如果希望简化代码的开发和调试,可能需要一个IDE(集成开发环境)。
But if you want to make your life easier in developing and debugging your code, you probably need an IDE (Integrated Development Environment).
Schematron的很多思想受到XSLT的启发,包括使用变量简化代码。
Schematron was inspired by many of the ideas in XSLT, including the use of variables to help simplify code.
通过使用样式表来定义一个与带特定原型的元素相匹配的模板,可以进一步简化代码。
By using a style sheet to define a template that matches an element with a particular archetype, you can further simplify the code.
如果代码非常混乱以致于需要逐行注释,那么更有利的方式是首先简化代码。
And if your code is such a tangle that you need a comment for every single line of it, you'd probably profit from making it simpler in other ways first.
考虑到这些相似性,Rails3引入了Responder来进一步简化代码。
Given those similarities, Rails 3 introduces the Responder to simplify the code further. For example, a few lines of code is all that's needed for a create action.
ReSharper提供许多简化代码任务的快捷方式以提高你的生产力和节省你的时间。
ReSharper offers a number of shortcuts for streamlining common coding tasks to increase your productivity and save your time.
一些读者曾问我如何以更好的方式组织CSS文件来改善代码的可读性并简化代码的管理。
Some readers have asked to me what is the better way to organize a CSS file to optimize code readability and simplify code management.
好的设计可以在我们更深入理解业务流程时,简化代码修改,并为创建UI需要的价值提供更多的选择。
A good design lets us change our code easily as we find out more about the business processes, giving us multiple options for providing the value that the UI needs.
最后,SOA方法允许我们轻易绕过Torque引擎的一些很麻烦的限制,同时能够简化代码。
Finally, the SOA approach allowed us to easily get around some of the more troublesome limitations of the Torque engine, while simplifying the code.
您将看到,有时候通过改变抽象风格,可以解决一些看似难以解决的设计问题,并且可以简化代码。
And you'll see that you can sometimes solve seemingly intractable design problems - and simplify your code - by changing abstraction styles.
不过,虽然Web服务基础结构可以封装调用的细节,从而简化代码,但服务设计也应对调用方式加以考虑。
However, although the Web service infrastructure may encapsulate details of invocation and hence simplify code, the service design should be influenced by the style of invocation.
尤其是其中的“测试先行”,以不断的测试推动代码的开发,从而达到既简化代码,又保证质量的目标。
It especially highlights the test first policy-uninterrupted test propels code exploitation, thus achieves the goal of code simplicity and at the same time quality assurance.
对于那些需要处理SOAPElement本身而不是使用数据对象的场合,使用这些API可以在一定程度上简化代码。
Using them does simplify the code a bit for the cases where you'll need to handle the SOAPElements themselves instead of working with your data objects.
jQuery最有趣的特性之一是 “链接性”,它能够将一系列函数集中起来,改善可读性和简化代码的编写。
One of the most interesting features of jQuery is its "chainability", its ability to put together a series of functions in order to improve readability and ease coding.
它使用了依赖注入技术以简化代码来实现Presentation -Model和Model - View - Presenter模式。
It USES dependency injection techniques to simplify the code necessary to implement the Presentation Model and Model-View-Presenter patterns.
与usonian Automatic相似,软件框架可以简化代码的构建,从而允许开发人员将精力更多地集中于软件用途上,而不是简单组装工作。
Like the Usonian Automatic, a software framework simplifies construction of code, allowing developers to focus less effort on assembly and more on purpose.
这个功能的最大好处就是方法调用的内联化;但是,我们也要明白JVM并不能够在程序执行前静态地完成这项工作,相反,一些其他的优化技术简化代码直到产生内联方法。
The single biggest benefit is the in-lining of method calls; but this can't be done statically ahead of time. Instead, other optimisations simplify the code until the method in-lining can occur.
这些函数有助于促进代码重用,简化查询的开发和维护。
Such functions encourage code reuse and simplify the development and maintenance of queries.
在这个简化的代码中,我们没有对不同的错误进行特殊处理;不过,在实际的实现中,需要使用这些不同的路径。
In this simplified code, we have no special treatment of the different faults; however, in a real implementation, we would need to exercise these different paths.
这些代码都是简化了的,并不适合实际的应用。
The code is oversimplified and not suitable for real applications.
他们还用基于EJB的安全性替换定制安全性框架,这使得他们能够维护方法级安全性,同时却极大地简化了代码。
They also replaced the custom security framework with EJB-based security, which enabled them to maintain method-level security while greatly simplifying the code.
简化算法。代码如恶魔,在你完成编码后,应回头并且优化它。
Simplify the algorithm - Code like a fiend, but once you're done, go back through your code and optimize it.
应用推荐