一致认可的代码标准确保了一致性。
An agreed-upon common set of coding standards ensured consistency.
参见参考资料获取完整的代码标准列表。
对源代码的重构遵循微软的代码标准,但引入了一些不兼容的修改。
The refactoring of the source code done to align it with Microsoft's guidelines has introduced some breaking changes.
每次流程失败的时候,就是你学习如何改进代码标准和测试实践的机会,避免重大bug再次发生。
Every time the process fails you have an opportunity to learn how to improve your coding standards and testing practices so that major bugs don't happen.
例如,实际上可以很容易地配置一个设备(就像Ambient Or b),在代码复杂度有所上升时,或者在违反一定数量的代码标准时,使用该设备改变颜色。
For example, it's actually quite easy to configure a device, like the Ambient Orb, to change colors if code complexity increases or even if a certain number of coding standards are violated.
即使是最好的程序员,测试、复查和调试不遵循任何标准的代码也是一项艰巨的任务。
Testing, reviewing, and debugging code that does not follow any standards can be a daunting task, even for the best of programmers.
该样本代码不是任何标准的IBM产品的一部分,将其提供给您目的只是为了帮助您的应用程序的开发。
This sample code is not part of any standard IBM product and is provided to you solely for the purpose of assisting you in the development of your applications.
同步的“调用-返回”模型是用绝大多数编程语言编写代码的标准形式。
The synchronous call-and-return model is the standard form for writing code in most programming languages.
传统的IDE关注于代码开发,标准的功能包括支持最新的API并简化他们的使用的能力。
Traditional IDEs focus on code development; standard features include support for the latest API's and capabilities to simplify their use.
本文中的代码示例是标准的命令行脚本;基本上就是系统管理员在手工执行这些步骤时使用的命令。
The code examples in this article are standard command-line scripts; basically commands that a system admin will use when manually performing the steps in the examples.
该注释减少了标准代码,并解决了前面所提到过的不方便之处。
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.
它减少了冗余测试代码,能够强制使用标准的机制执行任务,并且可以跟踪api方法的返回值。
It reduces redundant test code and can enforce a standardized mechanism to perform some tasks and keep track of values returned by the API methods.
源字段中是否使用标准代码,如用户部门或位置代码?
Are standard codes used in source fields, such as user department or location codes?
该代码使用标准的J2EE编程模型来访问服务。
The code makes use of the standard J2EE programming model for accessing services.
就算已经知道了做JNDI查找的序列,处理 JNDI例外的操作会添加一系列标准代码。
Even though the sequence of doing the JNDI lookup is well known, casting and handling the JNDI exception adds a lot of standard code.
完成这个工作所需要的代码是相当标准的;您可以通过参考资料小节下载完整的客户机代码。
The code needed to do this is fairly standard; you can download the full client code from the Resources section.
您可以使用ARM标准检测代码来增加报告度量的粒度。
You can increase the granularity of the metrics reported by instrumenting your code to the ARM standard.
为了从原型中释放出最大的价值,我们经常忽略代码的标准、同级检查和类似的过程。
To extract the maximum value from the prototypes, we often ignored coding standards, peer reviews, and the like.
尽管不能消除手动代码检查需求,但建议的最佳实践是,采用自动化检查来确定开发团队在代码质量标准方面所处的位置。
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.
生成的定制代码使用一个超类模型,如清单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.
这里所示的代码是一些用来查询和创建消息的标准JPA 代码。
The code here is just standard JPA code for querying and creating messages.
麻省理工学院、哈佛大学和加州大学旧金山分校的研究者开始倡导生物零件的标准化,试图将纷杂的基因代码化为标准的“部件”,就像乐高积木那样。
The Biobrick initiative started by researchers at MIT, Harvard and UCSF, is an attempt to standardize chunks of genetic code that can be used as "parts," like a Lego set.
编码标准:每个人都按相同的标准编写代码。
——有效性并不是代码质量的全部测量标准,但它能保证你的代码按照标准写,也能帮助你发现在书写过程中的错误。
While validation isn't a complete testament to code quality, it does help to make sure that your code follows recommended standards and can show you errors in your markup, CSS, and JavaScript.
正如上面注释中提到的那样,定制代码类的标准运行机制是exec (itestexecutionservices,String)方法。
As mentioned in the comment, the standard run mechanism for custom code classes is the exec (ITestExecutionServices, String ) method.
这是用于使用JDBC和JMS 的标准代码。
运行此代码之后,可以以标准Perlhash的形式直接访问数据库。
After this code has run, you can access the database directly as a standard Perl hash.
为在php中实现微调控制项,采用服务器端创建DHTML代码的标准模式即可,在start和end函数中划分HTML的各部分。
To implement spinners in PHP, you follow a standard pattern for server-side creation of DHTML code, bracketing segments of HTML in start and end functions.
应用推荐