Foster a good code review culture in which finding defects is viewed positively.
培养良好的代码评审文化氛围,在这样的氛围中搜索缺陷被看做是积极的活动。
The old testment sells fear and guilt. The new testment is a good code of ethics.
《旧约》贩卖恐惧和罪行,《新约》则贩卖与人为善的道德准则。
It also takes a lot of time to do a good code review, so it's standard practice to break large changes into smaller, more review-friendly pieces.
当然一次优秀的代码审核也是相当耗费时间的,因此需要有一定标准把大的修改变成许多小修改,生成更多友好的代码片段。
Improving your code is a good idea, but sometimes it can take a lot more effort and time than you have available.
优化你的代码是一个好主意,但是有些时候可能花费过多时间和精力,远远超过你能承受的。
If the call to the interface returns a good return code, assume that the application is healthy.
如果对该接口的调用返回一个良好的返回码,则假定应用程序是健康的。
At first glance, this strategy seems like a good idea — code duplication is a bad thing, so consolidating these duplicated paths should be an improvement.
乍一看,该策略似乎是一个好方法——但代码副本有错误,所以整合这些复制路径应该是一种改进。
Good programmers make it a habit to keep code short, simple, and well-documented so that it's maintainable.
优秀的程序员习惯将代码保持得简短、简单和具有良好的文档记录,以便使其可维护。
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.
这是一项通用的良好实践,可以以这种方式将常见的复杂代码封装起来,从而供实现者更容易地遵循您的开发标准。
This is a good move, since the code is getting more complicated, and the new functions provide some modularity, which helps to keep things organized.
这是个好的步骤,因为代码正变得越来越复杂,而新函数提供了一定的模块性,使代码更有条理。
Limiting the wait time and sending an alert on an error return code would be a very good thing to add.
限制这个等待时间,并发送关于一个错误返回码的警报,是非常有必要增加的一个功能。
Code without a good test suite is typically buggy, hard to change with confidence, and poorly factored.
没有好的测试集的代码通常有很多问题,难于进行有信任度的改变,并且难以重构。
If you want to match a pattern multiple times within a character sequence, the above code snippets are a good place to start.
如果您想在一个字符序列中多次匹配一个模式,上面的代码片段是一个很好的起点。
It's a good idea to clean up the code and adopt the new APIs where possible.
一个好的办法是清理代码,尽可能地使用新的API。
The Developer Training kit, the MSDN site and the SDK are also a good places to look at code samples and documentation.
开发训练包、MSDN网站和SDK也是查看代码示例和文档的好去处。
JAXB still looks like a good choice for the code generation approach in the future (the beta license only allows evaluation use).
JAXB看上去将来仍是代码生成方法的一个不错选择(测试版许可证只允许评估使用)。
Efficient application development requires a good programming environment with code editing, compiling, and debugging tools.
高效的应用程序开发需要一个优秀的编程环境,其中应该包含代码编辑、编译和调试工具。
It is also a good idea to modify our unpacking code so that it recognizes bzip2-compressed tarballs by default.
还有个好主意是修改解包代码,以便它可以缺省识别由bzip2压缩的tar压缩包。
Brown considers that good code is a good place to start, but to succeed one needs to know what is to be built, what is released and that it works.
Brown认为好代码是一个好的开始,但要取得成功,人们需要知道要构建什么、要发布什么以及它可以运作起来。
Standout features of PhpED include a great debugger, excellent database access, good code intelligence features, and integrated PHP help.
PhpED的突出特性包括一个很棒的调试器、优秀的数据库访问、较好的代码智能特性以及集成的PHP帮助。
Simon Brown, a developer, architect and author, considers that it takes a lot more than just good code to create a successful project.
SimonBrown,集开发者、架构师及作家于一身,他认为成功的项目需要的不仅仅是好代码。
IllustrationMost testers and software developers already know that it's a good idea to measure the code coverage of their tests.
illustration大多数的软件开发员和测试员已经知道,测量测试的代码覆盖率,是一个不错的注意。
A good source code management system can do some of the more tedious parts of this automatically, which makes merging patches faster and allows greater throughput for patches going into the kernel.
一个好的源代码管理系统可以自动地完成其中一些更为复杂的部分工作,这样可以更快地融合补丁,并使更多的补丁加入到内核中。
Some claim judicious code commenting is a good thing, while others claim it only serves as a mechanism to explain overly complex code.
一些人声称公正的代码注释是好事情,而另一些人声称代码注释只是解释过于复杂的代码的一种机制。
The code generation approach is a good one if your application employs a large XML grammar.
如果应用程序要使用大型XML 语法,那么代码生成方式是个很好的方法。
There's also a good case that readability is at least partially a function of how much code you have to read.
这同样也可以很好的证明,要说可读性这回事,最起码也得看看要读完多少代码才能搞明白一个功能。
If something goes wrong, you can always revert back to a known, good-working version of your code.
如果哪儿出了错,您总是可以使自己的代码回复到一个已知的、工作正常的版本。
I'd also be interested in hearing from you if you have additional Suggestions for enhancements, or if you spotted a good refactoring that could eliminate a line or two of code.
我也同样有兴趣听到你对改进此脚本的建议,或者你完成了一个漂亮的重构可以精简一到两行代码。
In such cases, it's usually a good idea to refactor the code out into a user-defined function, which the key-mapping can then call.
在这种情况下,通常最好将代码重构为一个用户定义的函数,键映射随后就可以调用该函数。
These refactorings is quite enough to keep the project code in a good shape by making project-wide changes.
这些重构功能已经足够让项目代码通过做一些项目级的改动来保持一个优雅的风格。
[Start developing] a DSL... when there is a good understanding of the application domain and there exists a considerable code base for systems in the domain.
如果对应用领域有深刻的理解,且在领域的系统已经具备相当程度的代码基础,即可开始开发dsl。
应用推荐