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.
尤其是其中的“测试先行”,以不断的测试推动代码的开发,从而达到既简化代码,又保证质量的目标。
Simplicity defines the ease of understanding and reading the code.
简单性定义了代码理解和阅读的难易程度。
For simplicity, this example installs its code in the default targets.
为了简单起见,这个示例在缺省目标处安装其代码。
The XP value of Simplicity suggests everybody on my team ought to do the simplest thing that could possibly work, both for code and for process.
XP中简单性的价值建议我团队中的每个人应该在有效的前提下,对代码和过程采用最简单的方法。
Simplicity: XP proposes that you always do the simplest thing that could possibly work with regard to process and writing code.
简单性:XP建议:在对于过程和编写代码起作用的方面,总是做最简单的事情。
The framework's power comes not from an extensive library of code but from its simplicity, combined with its generality and well-architected distribution of responsibilities.
框架的强大并非源于一个广泛的代码库,而是源于其自身的简单,以及其普遍适用性和职责在体系结构上的良好分布。
Schema languages are another area in which developers appear to be choosing simplicity and running code instead of complexity and vendor promises.
模式语言是另一个例子,开发人员宁可选择简单而能运行的代码,也不选择复杂和供应商的许诺。
Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.
虽然他们定义简洁代码的侧重点不尽相同,但其中仍有共通之处:简单、无重复、易读、优雅。
Its benefits - in terms of code safety and simplicity, and often even in terms of performance - are enormous.
它的好处—就代码安全和简单性而言,甚至经常就性能而言—是巨大的。
The advantage of this approach is simplicity: the JRE developers need only write the code to handle each type of bytecode.
这种方法的优点是其简单性:JRE开发人员只需编写代码来处理每种字节码即可。
Much of your code will have the simplicity and clarity of code written in your favorite dynamically-typed language.
你的大多数代码会简单清晰,就像是用你最喜欢的动态语言写出来的一样。
In the listing provided here, for simplicity, the code launches a dialog that shows the business object id provided on the URL.
为了简单起见,在这里提供的清单中,代码将启动一个显示url中提供的业务对象ID的对话框。
Table 1 provides a snippet of code to demonstrate the simplicity and usability of inline methods.
表1中的代码片段演示了内联方法风格的简单性和易用性。
However, when you have complex requirements to implement, embedding PHP in HTML takes away simplicity from the code.
不过,当您要实现复杂的要求时,将php嵌入html使代码的简单性尽失。
The problem isn't the simplicity of the code but the implicity of the code: the degree to which the context is not explicit in the code itself.
问题不在于代码是否简单,而在于代码能够在多大程度上脱离上下文仍能表达意图。
A successful software engineer knows and USES design patterns, actively refactors code, writes unit tests and religiously seeks simplicity.
一个成功的软件工程师知道并会使用一定的设计模式、分解代码、撰写单元测试并从意识上追求简单化。
Although memory management may appear trivial, a properly designed interface can produce code efficiency, simplicity, and portability -- none of which may be achievable otherwise.
尽管内存管理看起来可能无足轻重,但是恰当设计的接口能够产生高效、简单和可移植的代码 ——这其中每个特性都需要进行内存管理才能实现。
Simplicity: the code is more efficient and compact by using the single head element or type definition to select a group of elements.
简单性:通过使用单个head元素或类型定义来选择一组元素,使代码更加紧凑高效。
For simplicity, it is recommended that you uncomment the line CALL CopyMessageHeaders ; from the standard compute node template, and follow it with the ESQL code provided in this article.
为简单起见,建议您不取消注释标准计算节点模板中的代码行CALL CopyMessageHeaders,并且在其后加上本文所提供的ESQL代码。
For simplicity in this example, the consumer re-uses the same destination the producer USES to send a message. The code to create the consumer looks like this.
在例子中为简单起见,消费者重用了生产者用来发送消息的终点。
And in my experience, my code is much simpler when tests drive it, and I'm always in the market for greater simplicity.
根据我的经验,在测试推动代码时,我的代码就会简单得多,而且我一直在设法使它们更为简单。
This simplicity also allows the code to be IDE agnostic.
这种简洁性允许代码具有ide不可知性。
For simplicity, this article doesn't show detailed comments in the code.
为了简化起见,本文省略了代码中的详细注释。
This automation would bring much more simplicity for the users, because they will not have to manually run the wizards that RSA provide to build the M2M transformation and the generate the code.
该自动化给用户带来了更多的简便性,因为他们不用手动地运行RSA提供的向导,以构建M 2 M转化并生成代码。
In that sense, refactoring insists on some less tangible, but decisive characteristics of software like design, simplicity, improved source code comprehension, readability and alike.
从这个意义上讲,重构坚持在一些不太明显,但却具有决定性作用的特征上作文章,例如设计、简单性,以及改善源代码的可读性,便于理解。
Now that you have been lulled into the simplicity of code review rules, let's make it a bit more challenging.
下面,我们制作一个更富挑战性的代码评审规则。
The code under test, shown in Listing 13, is simplicity itself.
清单13所示的测试中的代码本身十分简单。
The simplicity of embedding Lua in code in other languages (but especially C) makes it an easy target for substantially improving the functionality of programs in other languages.
将Lua嵌入到其他语言(特别是C)编写的代码中非常简单,因此常常使用 Lua提高用其他语言编写的程序的功能性。
For simplicity, in the sample code in Listing 1, we use an XML document (po.xml) that describes a purchase order and the purchase order schema (po.xsd).
为了简化起见,清单1的示例代码中使用了一个描述订单的xml文档(po . xml),以及一个订单模式(po . xsd)。
Working groups cover visual design, simplicity, and front-end code to help ensure Facebook designs remain consistent.
整个工作组涵盖视觉设计和前端开发,这确保了Facebook的设计保持一贯的风格。
应用推荐