Fowler also identifies the Large Class as a code smell.
Fowler还将庞大的类也看作一种代码气味。
I define adaptor as a code block (delimited by in Groovy).
我将adaptor定义为一个代码块(使用Groovy中的界定)。
Earlier, I showed composition as a code-reuse mechanism.
在以前的文章中,我展示了通过复合实现的代码重用机制。
In Listing 4, I define product as a code block accepting two parameters.
在清单4中,我将product定义为一个代码块,它接受两个参数。
Some properties have an enumerated list of valid values, also known as a code list.
有些属性拥有一个有效值的枚举列表,也称为代码列表。
The API for offloading code to the SPEs is distributed as a code library for the PPE, libspe.
将代码提供给spe使用的API是作为PPE使用的一个代码库libspe进行分发的。
Think of a closure as a code block that you can use as an argument, with special scoping rules.
闭包可被视作一个遵循特别作用域规则且可以用作参数的代码块。
The resulting wrapper function is too long to present inline as a code example, but it seems to work pretty well.
最终得到的包装器函数由于太长而不作为内联代码例子显示,但它能够出色地执行。
In the 21st Century, 420 is firmly established as a code amongst tokers, a time of day and even sort of a toker's New Year's day.
到了21世纪,420成了一个飞行员当中确定的代号,每天的那个时间甚至是飞行员们的新年。
Let us redefine medical ethics-not as a code of professional etiquette between doctors, but as a code of fundamental morality and justice between medicine and the people.
让我们重新给医德下个定义——它不是医学界内部的职业道德,而是医学界和人民间的基本道德和正义准则。
Let us redefine medical ethics? Not as a code of professional etiquette between doctors, but as a code of fundamental morality and justice between medicine and the people.
让我们从新给医德下个定义? ?它不是医学界内部的职业道德,而是医学界和人民间的基本道德和正义准则。
Let us redefine medical ethics - not as a code of professional etiquette between doctors, but as a code of fundamental morality and justice between medicine and the people.
让我们重新给医德下个定义——它不是医学界内部的职业道德,而是医学界和人民间的基本道德和正义准则。
Prometheus is a name that we adopted as a code word for the project because our patent attorneys advised us to keep it under wraps until the patenting process was complete.
普罗米修斯是一个名字,我们的项目采用了一个暗语,因为我们的专利律师建议我们保持保密专利申请过程,直到完全卡住了。
The Universal Product Code symbol, also known as the 'bar code', is printed on products for sale and contains information that a computer can read.
通用产品代码符号,亦称“条形码”,印在出售的商品上,其中含有计算机能识别的信息。
Note that this means, unlike vowels, intervening H and W characters do not act as a barrier to combining runs of letters with the same code.
请注意:这意味着,与元音不同同,插在中间的字符H和W不会对组合相同代码的字母形成障碍。
As we know, after the founding of the People's Republic of China, there were several attempts to draft a civil code in 1954, 1962, 1979 and 2001.
众所周知,中华人民共和国成立后,曾在1954年、1962年、1979年和2001年多次尝试起草民法典。
The marital status itself is part of the core business data, but it is stored there only as a short code.
虽然婚姻状况本身就是部分核心业务数据,但是其只是作为一个短代码被存储在那里。
All the actions below end with '1;' because the last code in the action determines whether the action succeeded (0) or failed (1) as a return code.
下面所有的操作都以‘1;’结尾,因为操作中的最后代码确定了该操作是成功(返回码为0)还是失败(返回码为1)。
The created models can be analyzed and used as a basis for code generation (see below).
创建的模型可以被分析,并作为代码生成(如下所示)的基础被使用。
What this tells us about code smell as a mechanism for evaluating code is that it's subjective.
这告诉我们,代码味道是一种评估代码的机制,它具有主观性。
The ampersand identifies the parameter as the holder of a code block.
该符号将参数识别为代码块的持有者。
The father of machine translation, William Weaver, chose to regard Russian as a "code" obscuring the real meaning of the text.
机器翻译,威廉·韦弗的父亲,选择视为“代码模糊了真正意义的文本”俄罗斯。
As a result, your code will look remarkably different when tests drive it.
结果,当测试推动代码时,您的代码就会大有改观。
You can almost think of using the CheckStyle plugin as a continual code review!
您也几乎可以把CheckStyle插件视作一个连续的代码复查工具!
The input into the service is a zip code as a type String. Then, the method
服务中的输入是一个字符串类型的邮政编码。
While anyone would identify the repetition as a "code smell," most of us have learned to live with it.
虽然所有人都将这种重复标识为“代码味道”,但我们大多数都已经学会忍受它。
I'll treat it as a Boolean in my code.
在编码时我会把它做为一个布尔值。
The latter method accepts a currency code as a second parameter.
后者的这个方法接受货币代码作为其第二个参数。
It should be noted that a locale code precedes what many refer to as a language code (a form of locale code).
应该注意的是,区域代码先于人们所说的语言代码(区域代码的一种形式)。
Embedded software that is stored as object code within a ROM.
是作为目标代码存贮在ROM中的嵌入式软件。
应用推荐