不过要注意,我并不是建议你盲目地为那些已经有成熟标准的内容创建新代码。
Note however I am not suggesting that you blindly build new code for which mature standards already exist.
除非设立了相应的标准对其进行度量,否则代码检查可能无法起到很大作用。
Code reviews may not make a lot of sense unless you have standards in place to measure them against.
编码标准将在程序员编写代码时出现。
同步的“调用-返回”模型是用绝大多数编程语言编写代码的标准形式。
The synchronous call-and-return model is the standard form for writing code in most programming languages.
在标准JD k分发版中,控制代码源访问的机制缺省情况下是关闭的。
In the standard JDK distribution, the mechanism to control access to code source is turned off by default.
利用标准的UML表示法,就不会有代码为这个编辑部分呈递而产生。
No code will be generated for the edit parts rendered using standard UML notation.
该注释减少了标准代码,并解决了前面所提到过的不方便之处。
This annotation reduces standard code and resolves each of the disadvantages mentioned earlier.
在记录和回放脚本中,您必须滚动代码以发现搜索标准。
In the record and playback script, you have to scroll through the code to find the search criteria.
质量标准和概念转换的使用对书写良好的代码的审阅非常有效。
The use of quality standards and concept translation is highly effective for reviewing the code, which is well-written.
标准库已经增长了超过42,000行代码,其中包括20个新的包。
The standard library has grown by over 42,000 lines of code and includes 20 new packages.
该代码使用标准的J2EE编程模型来访问服务。
The code makes use of the standard J2EE programming model for accessing services.
如果不满足标准的话,CLM可以阻止代码被交付。
CLM can prohibit code from being delivered if it doesn't meet this criterion.
您可以使用ARM标准检测代码来增加报告度量的粒度。
You can increase the granularity of the metrics reported by instrumenting your code to the ARM standard.
尽管不能消除手动代码检查需求,但建议的最佳实践是,采用自动化检查来确定开发团队在代码质量标准方面所处的位置。
Although it doesn't eliminate the need for manual code reviews, it's good practice to have the automated reviews to know where the development team stands regarding coding quality standards.
一致认可的代码标准确保了一致性。
An agreed-upon common set of coding standards ensured consistency.
参见参考资料获取完整的代码标准列表。
这是用于使用JDBC和JMS 的标准代码。
他们可以编写可移植的代码,该代码仅依赖于标准的公共api中公布的方法。
They can write portable code that depends only upon the methods that are exposed in the standard public APIs.
静态代码分析使您能够评审代码基础——全部或者任何一个部分——满足一定标准的代码的出现。
Static code analysis allows you to review the code base — all of it or any part — for the occurrence of code that meets certain criteria.
源字段中是否使用标准代码,如用户部门或位置代码?
Are standard codes used in source fields, such as user department or location codes?
惟一的扩展方法是标准化—标准化代码组织方式、标准化编码约定和标准化工具。
The only approach that will scale is to standardize - standardize the code organization, standardize coding conventions, and standardize the tools.
完成这个工作所需要的代码是相当标准的;您可以通过参考资料小节下载完整的客户机代码。
The code needed to do this is fairly standard; you can download the full client code from the Resources section.
RMS类调用特定于平台的本机代码,这种本机代码使用标准OS数据管理器函数来执行实际的数据库操作。
The RMS classes call into the platform-specific native code that uses the standard OS data manager functions to perform the actual database operations.
例如,我们允许使用源代码注释,其中包括标准的JSR- 250注入注释。
For example, we allow the use of source code annotations, including the standard JSR-250 injection annotations.
这个过程并不是对代码进行全面铺开的检查,更确切一点,在迁移评估上下文中的代码检查通常只涉及到发现非j2ee标准代码的使用。
This is not a full-blown code review; rather, a code review in the context of a migration assessment is generally concerned only with discovering the use of non-J2EE compliant code.
少数选项把“可以应用当地标准调整或者代码清理”作为一个优点,意思是说已有的代码清理项目列表仍然有用。
A few of the options claim "you can apply locally standard tweaks or code cleanup" as a benefit, which means that your existing list of code-cleanup items is still useful.
生成的定制代码使用一个超类模型,如清单4中标准生成的定制代码所示。
The generated custom code utilizes a super class model, as shown in the standard generated custom code in Listing 4.
MDA的公共基础也会促进部分代码的生成和实现,当然这些代码不是标准化的。
Their common basis in MDA will also promote partial generation of implementation code, but that code, of course, will not be standardized.
本书描述了一些非常酷的评估代码库组件构成的度量标准。
The book describes some cool metrics to assess componentization of a code base.
这里所示的代码是一些用来查询和创建消息的标准JPA 代码。
The code here is just standard JPA code for querying and creating messages.
应用推荐