This contest displays the value of clear code by celebrating the insane. It's pretty awesome.
这个比赛就是要通过评选出最离谱的代码来展示简明代码的价值,真是别具匠心。
This speaks volumes about the need for clear code with good variable names and clean design on a long-term project.
这个事实清楚地证明:长期项目需要那些拥有良好变量名和干净设计的清晰代码。
Clear code coverage: Because the code itself is being scanned statically, achieving code coverage is as simple as specifying what code should be included in the analysis scope.
清除代码覆盖范围:由于这个代码本身是被静态监测的,获得代码范围就像指定这个分析范围中应该包含哪些代码一样简单。
The real value of this particular column isn't in esoteric code, but simply in communicating a clear notion of the target you should have for enabling your own remote service.
这篇特别的专栏文章的真正价值并不在于深奥的代码,而只是在于传达了一个清晰的概念,您应该以此为目标来启用自己的远程服务。
So, no matter what you hear from in-house gurus or code wizards, stay clear of writing this type of code — and hold your ground!
因此,无论您从公司内部权威或代码奇才那里听到什么,一定要对编写这种代码有清楚的认识——不要动摇!
The comments should be well-written and clear, just like the code they are annotating.
注释应该和它们所注释的代码一样是书写良好且清晰明了。
It turns out that downstream vendors really don't care about the licensing of the code in their devices; they only care that it's clear and compliant.
看起来下游厂商根本不关心他们设备里面运行的代码的授权许可证是什么,只要这个许可证清晰并能遵守就行了。
Secondly, the meaning of the code is very clear.
第二,这些代码的意义非常清晰。
This not only reduces the amount of code you have to type, but also eliminates repetitive cut-and-paste code (a major source of errors), and makes your intentions clear when you read the code later.
这不但减少了您编写的代码量,而且也减少了重复的剪切、粘贴代码(错误的罪魁祸首),并且在阅读代码时思路更加清晰。
Another important principle is that in the first case we don't mind having some duplicate code. If it's clear how to eliminate duplication, we do, but we are willing to wait for clarity.
还有另一个重要的原则,在第一个案例中我们不介意有一些重复的代码,如果能够明确如何消除重复代码,我们愿意这么做,但现在还没有,我们仍然希望能找到清晰的解决方案。
The disadvantage is that users may not want to edit code, and the code becomes less clear.
缺点是用户可能不想编辑代码,代码变得更加不够清晰。
So, what's a good way to ensure that defects are fixed before the code is given the "All Clear" sign?
所以,什么是代码在贴上“全部解决”标志之前确认缺陷的好办法呢?
The code runs as expected, no compiler errors or issues and - most usefully - the code is self-documenting: the intention is clear.
代码的运行结果与预期一致,没有编译错误,最重要的是这段代码的可读性非常好:其意图是非常清晰的。
Creating test cases, especially for existing code, is very helpful in making the purpose of individual features more clear.
创建测试案例,尤其是为现有的代码创建测试案例,在使单个功能的目的更明确方面是很有帮助的。
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)还是在编写代码后创造单元测试,有一点是十分明显的,那就是单元测试有助于产出高质量、无缺陷的代码。
Writing effective timer-driven managed code requires a clear understanding of program flow and the subtleties of the.net threading model.
写一个高效的定时器驱动型可管理代码要求对程序流程有一个清晰的理解及掌握。NET线程模型的精妙之处。
In order to keep the code clear, only the code that accesses and manipulates CM user groups is provided, and some parts are replaced by pseudo code.
为了使代码清晰,这里只给出了访问和操纵CM用户组的代码,并且有些地方用伪代码替代。
As we continue building out the library, more and more of those features will begin to worm their way in, anywhere that they help make the code more concise and more clear.
随着我们继续构建这个库,只要有助于使代码更简洁、更清晰,越来越多这样的特性将添加进来。
Assignments and grading criteria don't mention any penalty or reward for clear, readable, well-written code.
分配和标准分级没有谈到任何惩罚或者对干净的、易读的、有条理的代码的奖励。
Clear this checkbox so that just the enclosing Tree code will be added.
取消此复选框,从而仅添加封装 Tree代码。
Reduce the complexity of GUI code by allowing for a clear separation of presentation logic and interaction logic
通过明确分离表示逻辑和交互逻辑降低GUI代码的复杂度
First, take this last bit of overview before you dive into code — make sure you're crystal clear on this idea of the Web 2.0.
在深入研究代码之前首先看看最近的观点——一定要十分清楚Web 2.0这个概念。
In some situations, the code could be rewritten to take advantage of a Clear method on the type with code like this.
在某些情况下,可以重新编写代码,以便用如下代码利用该类型上的Clear方法。
If you harvest validation patterns as attributes, you can mark up your code with clear validation constraints that don't interfere with the code's main thrust. Consider the code in Listing 4.
如果您将验证模式作为属性予以获取,可以用明确的验证约束标出您的代码,这不会影响代码的主旨。
If you don't want to embed the database server password directly in your code as clear text, you might want to look at the MySQL password digest features.
如果不希望在代码中以明文形式直接嵌入数据库服务器密码,那么可以考虑使用MySQL的密码摘要特性。
This information gives you a clear picture of how your code is doing from the outside perspective, and it needs to be a quantifiable measurement, not just a vague goal to "fix more bugs."
这些信息使您能够更好地看清,从外部视角来看,代码能够做些什么,您还需要一个可定量化的评价手段,而不是“修复更多错误(bug)”的模糊目标。
What is not clear to me is how useful it is to try to generate code from the models, and when.
让我不太理解的是在从模型中产生代码时它究竟有多大的用途,以及什么时候有用。
The code to clear the drawing, then create the drawing as a set of rectangles and ellipses is shown in Listing 5.
清单5中显示了一些代码,这些代码先清除绘画,然后创建由一组矩形和椭圆组成的绘画。
Rewrite when it is clear what the code does but it is difficult to understand.
当很清楚知道代码做什么,但是很难理解那些代码的时候就重写。
Rewrite when it is clear what the code does but it is difficult to understand.
当很清楚知道代码做什么,但是很难理解那些代码的时候就重写。
应用推荐