Listing 4 shows a typical messaging event, posting notification of a new high bid in an auction system, and the code that generates it.
清单4显示了一个典型的消息传递事件,即发布拍卖系统中的一个新的高投标通知和产生该事件的代码。
All children are entitled to a high-quality education regardless of their race, zip code, or family income.
所有的孩子都有权接受高质量的教育,无论他们的种族、地区或家庭收入多少。
Design and architectural capabilities allow you to manage the complexity of the code, and developer test capabilities ensure that the code is of high quality.
设计和构架能力使您可以管理复杂的代码,而开发人员测试能力确保代码是高质量的。
Review the comments in this file to understand the code or refer to the next section, which provides a high-level description about the code logic.
通过这个文件中的注释了解代码的作用,或者参考下一节中对代码逻辑的解释。
Review the comments in these files to understand the code or refer to the next section, which provides a high-level description about the code logic.
通过这些文件中的注释了解代码的作用,或者参考下一节中对代码逻辑的解释。
From a parameterized unit test, it automatically produces a traditional unit test suite with high code coverage.
它可以从一个参数化的单元测试中自动生成一个传统的单元测试集,而且有很好的代码覆盖率。
By using a static analysis tool such as PMD's CPD or CheckStyle, you can determine areas of high code duplication on a continual basis as part of running an automated build.
使用诸如pmd的CPD或CheckStyle这样的静态分析工具,您能够将整个分析过程作为自动构建的一部分,持续分析,确定代码重复度高的区域。
And when PureCoverage reports a high level of code coverage, you know you have not introduced new blocks of code without also adding automated tests to exercise them.
当PureCoverage报告高级别的代码覆盖时,您可以知道并没有引入新的代码块,因此不必增加自动测试。
Code is a creative endeavor. You need to be in the right mindset to create high-quality code.
编程是一件需要创造力的事情,你需要在最佳状态才能编出高质量的代码。
The test will reside in a code area with multiple function points (high integration point) and in which more than one developer touches the same code (high risk).
测试将存在于一个带有多个功能点(高集成度点)的代码区域,该区域被多个开发者所使用(高风险)。
Cyclomatic complexity isn't the only complexity measurement for spotting high risk code, however.
不过,圈复杂性并不是确定高风险代码的惟一复杂性度量。
Through a compilation process, this high-level code is compiled into an intermediate representation called object code.
通过一个编译过程,该高级代码被编译成一个名为对象代码 的中间表示。
Instead of building physical models to scale, or using mathematical models, software designers typically "model" by writing high level code.
与建造物理模型或者使用数学模型不同的是,软件设计者靠编写高层的代码来建立“模型”。
Toward the end of writing high-performance code, developers often write small benchmark programs to measure the relative performance of one approach against another.
开发人员在以编写高性能代码为目标的时候,常常会编写小的基准程序来度量一种方法相对于另一种方法的性能。
But then, what do high-level languages do that you can't do in machine code?
但是,高级语言能够完成哪些用机器码无法完成的任务呢?
On average, one line of high level language code translates into many lines of assembly language code.
平均起来,一行高级语言代码要转换成多行汇编语言代码。
Despite their productivity advantages, dynamic languages may not be the best choices for all applications, particularly for very large code bases and high-performance applications.
如果撇开它们在高产能上的优势,动态语言也许不是个万金油,特别对于大规模和高性能程序来说,不是最佳选择。
In this activity, we must sort out the code that is specific to each use case and rebuild the corresponding high-level architecture of the code.
在此活动中,我们必须具体到每个用例的代码分类,并重新构建代码相应的高层架构。
The Dependency Inversion Principle has proved essential for writing high-quality, maintainable, and therefore testable code.
依赖性倒置原则被证明是编写可维护和可测试的高质量代码的必要条件。
Rugged code is a way of breaking through and instilling a mindset that secure code should be a pride-of-ownership issue just as much as elegant, high performing, and high quality code is.
坚固的代码是一种突破,并注入这样一种心态:安全的代码同样应该成为引以为傲的源泉,就像优雅的、表现出色的高质量代码一样。
Unfortunately, bugs still get introduced despite the tremendous efforts that people in the technology industry have put into producing high-quality code.
不幸的是,尽管业界人士在提高代码质量方面付出了巨大的心血,漏洞还是会由于各种因素产生。
The long-term costs of ignorance, apathy, or inaction about code maintainability problems are very high.
长期以来对代码维护性问题的冷漠、无知、无为,造成了巨大的损失。
Without EDD, we could end up developing high-quality bullet-proof code that nobody cares about.
没有EDD,我们也许能开发出质量极高、刀枪不入的代码,可是没有人用。
Now that we've taken a look at the high points of our application's code, let's see how to build it so you can experiment with it on your own.
既然我们已经研究了应用程序代码的要点,那就让我们了解一下如何构建它,以便您可以亲自进行实验。
"Agile USES continuous stakeholder feedback to deliver high quality consumable code through use cases (or user stories) and a series of short, time-boxed Iterations".
敏捷可使用持续的涉众反馈,通过用例(或用户案例)以及一系列较短的定时迭代,来交付优质的可消费代码。
Of course, the best time to ensure high-quality code is at the moment the code is being written, as this is the time you best understand how it is put together.
当然,确保高质量代码的最佳时机就是在编写代码时,因为在这个时期您最了解它的组织方式。
Whether a developer USES test-driven development (TDD) or creates unit tests after writing the code, the evidence is clear that unit tests help produce high-quality, bug-free code.
无论一个开发人员是在进行测试驱动的开发(TDD)还是在编写代码后创造单元测试,有一点是十分明显的,那就是单元测试有助于产出高质量、无缺陷的代码。
Note: You would probably write some of this code a bit differently in a high-volume setup.
注:在大量设置时可能需要以略微不同的方式编写一些代码。
As a result of this step, we can sketch the high-level structure of the code according to the discovered grouping.
由于此步骤,我们可以根据所发现的分组拟定出代码的高层结构。
It enables end-to-end local and remote testing, and creates high-quality applications using wizards, code generators, and best practices.
通过它可以进行端到端的本地及远程测试,并利用向导、代码生成器及最优的实践来生成高质量应用程序。
应用推荐