By looking for a single concern (even if it is crosscutting), you miss the relationships and protocols that, when normalized as patterns, form the backbone of code practice.
寻找单个的关注点(即使是横切关注点),就丢失了关系和协议,在规范化为模式时,关系和协议是编码实践的支柱。
All members of the association adhere to a strict code of practice.
所有该协会的成员都遵守严格的业务守则。
The auctioneers are violating a code of practice by dealing in stolen goods.
这些拍卖商买卖赃物的做法,正违反行规。
How much weight should I place on the code when the goal is to have them try a new practice and reflect upon it?
当目标是使他们尝试一个新的实践并引发对它的思考时,放在代码上的份量应是多少呢?
It shows the class diagram, the various configuration files and code snippets to show how the above design is put into practice.
它展示了类关系图、各种配置文件和显示如何将上述设计付诸实行的代码片段。
A good development practice is to move as much code as possible into reusable routines, functions, classes, or components, which can be grouped into libraries or frameworks.
一种好的开发实践是将尽量多的代码移入可重用的例程、函数、类或组件,而这些例程、函数、类或组件均能划分到库或框架中。
It is a general good practice to wrap common complex code in this way to make it easier for implementers to follow your development standards.
这是一项通用的良好实践,可以以这种方式将常见的复杂代码封装起来,从而供实现者更容易地遵循您的开发标准。
Practice should be on throw-away code so they’re free to try and experiment with things that they otherwise wouldn’t do in their shipping code base.
练习的代码应该被丢弃,这样,他们就能无拘无束地尝试和试验一些事情,不管怎么样,他们不用在基础代码库上面进行练习。
Practice should be on throw-away code so they're free to try and experiment with things that they otherwise wouldn't do in their shipping code base.
练习的代码应该被丢弃,这样,他们就能无拘无束地尝试和试验一些事情,不管怎么样,他们不用在基础代码库上面进行练习。
With practice, you can learn which code you have to type and which code you can generate, making a lot less work for you.
通过实践,您可以明确哪些代码必须手工输入,哪些代码可以自动生成,从而减少您的工作量。
In any programming language and platform, having a set of well-though unit tests, is a commonly accepted practice in order to deliver maintainable code.
不管使用什么编程语言和平台,编写单元测试都是被广为接受的技术实践,以便交付易于维护的代码。
Even knowing this, we're nowhere near the critical mass that would make writing tests before writing code a standard practice.
即使了解了这种重要性,我们也没有达到关键的一点:使在编写代码之前编写测试成为一种标准实践。
A strategy we used to pursue the "test code early and often" best practice was to involve developers in both feature verification and product verification (system-level) testing.
我们曾经提到的策略“尽早并经常地测试代码”是一项为开发者提出的最佳实践,无论是在特性验证还是产品的验证(系统级)测试中。
Further, the effective practice of committing code often can actually lead to bottlenecks, but that doesn't make frequent commits a bad practice.
此外,经常提交代码的有效实践实际上会造成瓶颈,但这并不意味着频繁提交是一种坏的实践。
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.
尽管不能消除手动代码检查需求,但建议的最佳实践是,采用自动化检查来确定开发团队在代码质量标准方面所处的位置。
Code review is the process and practice of reading over code written by someone else in order to detect errors, suggest improvements, etc.
代码审核是通过阅读别人的代码,来寻找错误,提出改进意见等的过程和实践。
In practice this is easy; just don't write code that does low-level manipulations of the stack frame or makes assumptions about the stack layout.
这在实践上是很容易的;只要不编写对堆栈桢执行低级操作或对堆栈的布局作假设的代码就行了。
Many of the questions in the SCJP 1.4 exam will require code-based answers, so practice coding as much as possible in preparation for the exam.
SCJP 1.4考试中的许多题目要求基于代码的回答,所以在准备考试时应尽量多练习代码编写。
Programming to interfaces is a good oo practice, but we are not always presented with legacy code that follows the practice.
设计接口是一个面向对象的极好实践,但是我们没办法总能得到遵循此种设计原则遗留代码。
In practice, however, it appears that the error code is -1 for a successful execution of the SQL command.
不过,实际上,如果SQL命令成功执行,错误代码将是- 1。
Practice deploying the latest pre-releases of code.
部署最新的预发布代码。
One important practice we included in our code is the use of print statements to the Intelligent Notification Services log files.
在我们的代码中包括的一个重要实践就是使用了将语句打印到IntelligentNotificationServices记录文件中的操作。
There is also a static code analysis feature in Rational Application Developer that will look at your existing code for best practice violations.
RationalApplication Developer中还有一个静态代码分析特性,通过它可以查看您现有的代码是否违背最佳实践。
This is a best practice that makes your code more flexible, but it is not necessary.
这是使您的代码更加灵活的最佳做法,但不是必需的做法。
Avoiding binding the dataset to the query is good practice when using SPARQL from application code — it allows the same query to be reused with different graphs, for instance.
当从应用程序代码中使用SPARQL时,避免把数据集绑定到查询是一个好习惯——例如,它允许把同一查询重用在不同的图上。
Minification is the practice of removing unnecessary characters from code to reduce its size thereby improving load times.
缩小是从代码,以减少其大小,从而提高加载时间删除不必要的字符的做法。
Synchronization coverage: Measuring code coverage is a highly recommended practice in unit testing, but when it comes to concurrent programs, code coverage is misleading.
同步覆盖:在单元测试中极力推荐测量代码覆盖,但是在测试并行程序时使用它,代码覆盖容易产生误导。
The main reasons to deploy as an EAR is to practice source code control, repeatability, and consistency across systems.
之所以作为EAR部署,主要是为了跨系统实现源代码控制、可重复性和一致性。
Nowadays, it is best practice to generate code from a DSL, which is simpler to use than a general purpose language like UML.
现在,最佳操作方式是从一个DSL生成代码,它要比使用像UML 这样的目标语言更简便。
It's still good practice to put the annotation in there; it makes the code more maintainable.
保留这些注释仍然是个不错的做法;可以使代码更易于维护。
应用推荐