SJ:封闭式设计和部署。
在所有分布式设计中都会用到它。
用AOP进行透明的契约式设计。
我用增量式设计构建了这个模式实例。
I created the example for that pattern using incremental design.
契约式设计或防御性编程。
单元测试和契约式设计
然而,用户体验领域却才刚刚开始全面融合劝导式设计。
However, the UX field is only beginning to fully embrace persuasive design.
奥迪A7以其极具创意的掀背式设计,获得了最多青睐。
The A7 is the favorite here for its innovative hatchback design.
信封式设计,衬以灰色背景——给人一种极端神秘的感觉。
An enveloped style design against a grey background – evoking a top secret feel to it. (by Jason Kottke)
在原始模式中显式设计extension方法。
The extension method is explicitly designed into the original schema.
契约式设计是一种发现和修复代码中逻辑错误的工具。
Design by contract is a tool for finding and fixing logic bugs in code.
劝导式设计是通过设计来积极影响世界的下一个阶梯。
Persuasive design is the next step in using design to create a positive impact in the world.
注意,在生产部署时可以关闭契约式设计测试,以消除它们的开销。
Note that Design by Contract tests can be turned off in production deployments to remove their overhead.
是法拉利那种华丽的意大利式设计,线条,动感还是均衡?
Is it the brilliant Italian design, lines, motion and proportion of the Ferrari?
编写契约式设计测试,实际上可以不需要Contract4J。
You don't really need Contract4J to write Design by Contract tests.
BertrandMeyer介绍了契约式设计的概念。
Bertrand Meyer introduced the concept of Design by Contract.
人们已经在实践着劝导式设计,但是用户体验在拖着后腿。
People Are Already Practicing Persuasive Design, but UX Lags behind.
结果是,“进化式设计”法则能被应用的产品范围得到增长。
As a result, the range of products to which evolutionary-design principles are being applied is growing.
理解了用AOP实现契约式设计的必要基础设施后,就可以让它工作了。
Now that you understand the necessary infrastructure for implementing Design by Contract with AOP, you can put it to work.
这种往回式方法称为“摇椅(rocking chair)”式设计。
This to-and-fro approach is called a "rocking chair" design.
契约式设计也做了显式的合约定义,而在单元测试中这些更隐式。
Design by contract also makes explicit the contract definition that is more implicit in unit tests.
例如,配置管理工具可以支持每日部署、增量式设计和持续集成。
For example, configuration management tool supports daily deployment, incremental design and continuous integration.
正如其名字所表示的那样,“进化式设计”的技术是从生物学借鉴过来的。
As its name suggests, evolutionary design borrows its ideas from biology.
从实践角度讲,劝导式设计是和商业目标、用户目标都紧密相连的。
From a practical perspective, persuasive design is strongly aligned with both business and user goals.
AspectJ主页:了解使用方面进行契约式设计测试的更多内容。
AspectJ home page: Learn more about using aspects for Design by Contract testing.
正如前面提到过的,单元测试和契约式设计用不同的方式实现类似的目标。
As previously noted, it is true that unit testing and Design by Contract accomplish similar objectives by different means.
另一种方法是契约式设计,这是阐明组件设计细节的一项切实可行的技术。
Another approach is design by Contract, a proven technique for clarifying component design details.
契约式设计避免了额外的编码并提高了性能,只要所有的客户都遵守契约。
Design by contract avoids extra code and improves performance, as long as all clients of a class abide by the contract.
使用契约式设计,可以用可编程表达式指定对于组件输入和返回结果的要求。
With Design by Contract, you can use programmatic expressions to specify the requirements on inputs to a component, as well as on the returned results.
所以,严格来说,契约式设计看起来可能根本不是AOP 技术的备选方案。
Therefore, strictly speaking, it may appear that Design by Contract isn't an appropriate candidate for an AOP approach at all.
应用推荐