虽然他们定义简洁代码的侧重点不尽相同,但其中仍有共通之处:简单、无重复、易读、优雅。
Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.
CCSID是一个16位的无符号整数,惟一地标识一个特定的代码页。
A CCSID is a 16-bit unsigned integer that uniquely identifies a particular code page.
变量是无类型的,所以对象构造方法可能以清单1这样的代码开头。
Variables are untyped, so the object constructor might begin with code shown in Listing 1.
独一无二的C#代码分析功能——随时随地查找并高亮标识错误,并且提供代码建议;
Unique Code Analysis for C# - finds and highlights errors on the fly and offers code suggestions
可能在调试不支持汇编的语言时在无源代码的位置命中了某个断点。
You may have hit a breakpoint in a location for which there is no source code, while debugging a language that doesn't support disassembly.
这部分数字中的字母代码对制造商来说是独一无二的,而不是行业标准的代码。
Letter codes prepended to the part number are unique to the manufacturer, and are not industry-standard codes.
这两种风格并没有明显的优劣,但是无宏风格的代码更容易调试。
There is no particular benefit to using one style over the other, but the non-macro style of coding makes debugging easier.
编译器只是加入代码使得在每次函数被无参数调用的时候传递一个默认的值。
The compiler simply inserts code to pass the default value whenever the function is called without an argument in that position.
代码转换技术用一个预定义的设备概要文件匹配这个独一无二的名称。
Transcoding Technology matches this unique name with a predefined device profile.
制造商、模型和版本组合起来形成一个独一无二的设备概要文件名,这个名称被传送给代码转换技术。
The manufacturer, model, and version are combined to form a unique device profile name, which is passed into Transcoding Technology.
一些处理器在处理无符号整型数要比处理符号整型数快得多,这也是一个好的习惯,有利于代码的自我文档化(self- documenting)。
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).
一些处理器在处理无符号整型数要比处理符号整型数快得多,这也是一个好的习惯,有利于代码的自我文档化(self- documenting)。
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).
应用推荐