这两行代码违反了SLAP原则。
These two lines of code illustrate a violation of the SLAP principle.
原因是报告的BIP错误不同,根据实际发生的代码违反或位翻转。
The reason is that the reported BIP errors vary depending on where the code violation or bit flip actually occurs.
关于方法指针,有意思的事情是:它们的使用可能就表明代码违反了迪米特法则。
The interesting thing about method Pointers is that their use can be an indication that the code violates the Law of Demeter.
如果代码违反了风格政策,则无法通过编译,即开发人员就无法交付工作。
If the code violated the style policy the code compilation failed, i.e. the developer was not able to deliver the result.
然而,在其他情况下,代码中违反规则的表现可以是一个红色的标记,即使编译器让其通过,在运行时也会严重地出错。
However, in other cases the presence of a rule violation in ones code can be a red flag that something can go seriously awry at runtime, even if the compiler lets it slip by.
有了这种可视化图,只要代码编写违反了规则,可视化图就会立即反映出来。
Given this visualization, if code is written that breaks the rules, it will be immediately obvious.
以编程方式将生成的SOAPElement映射到xsd:group数据类型是一种脆弱的解决方案,并违反了尽可能避免直接修改所生成的代码的实践。
Programmatically mapping the generated SOAPElement to the XSD: group data type is a brittle solution and goes against the practice of minimizing direct modification of generated code.
例如,实际上可以很容易地配置一个设备(就像Ambient Or b),在代码复杂度有所上升时,或者在违反一定数量的代码标准时,使用该设备改变颜色。
For example, it's actually quite easy to configure a device, like the Ambient Orb, to change colors if code complexity increases or even if a certain number of coding standards are violated.
这个合约不允许该方法抛出运行时异常(防止因违反泛型类型安全而成为调用代码中的bug)。
That contract does not allow this method to throw a run-time exception (barring violations of generic type safety that qualify as bugs in the calling code).
计算机病毒是一个程序或者一段代码,在你未觉察时进入你的电脑,从事违反你意愿的活动。所有的病毒都是人编出来的。
A computer virus is a program or piece of code that is loaded onto your computer without your knowledge and runs against your wishes. All computer viruses are manmade.
你们马上要看到我在一些代码中,违反了这个原则,会因此嘲笑我,which,Professor,Guttag,is,going,to,因为我没有通过访问器来做,但是,他确实是对的,一个优秀的,健康的。
What you're going to see in a second I violated in some of my code, Guttag yell at me shortly because I should have done it through accessors, but, he's exactly right.
描述解释了为何该发现是一个潜在的问题,并且在代码中为违反规则的实例提供了一个链接。
Description explains why the finding is a potential problem, and provides a link to the instance of the violation of the best practice in your code.
这种分析包括计算源代码指标、根据预定义模式筛查潜在的bug和发现是否违反编程约定和规则。
Such analysis includes calculation of source-code metrics, detection of potential bugs based on defined patterns, and discovery of violations of coding conventions and rules.
请修改您的代码,使标语显示在您的网站,因为这是对我们的服务条款直接违反。
Please modify your code to allow banners to display on your site as this is a direct violation of our Terms of Service.
如果抽象类是重用的后代-那么这是一种违反技术工具之间的代码。
If the Abstract class is a technical tool to reuse code between descendants - then this is a sort of a violation.
代码访问违反意味着某个地方,试图访问(读,在这种情况下)内存不是映射到程序的地址空间。
An access violation means that somewhere, your code tried to access (read, in this case) memory that's not mapped to your program's address space.
多重违反约束与可选的所需的EF代码+流利的关系?
Multiplicity constraint violations with optional-required EF Code First + Fluent relationship?
违反策略时,会在“签入”和“挂起的更改”窗口的源代码管理签入过程中为用户显示策略约束。
When policies are violated, they are presented to the user during the source control check-in process in the check in and Pending Changes window.
在建立一个实验性实现的时候违反一些传统意义上的编程准则是完全合理的,复制,粘贴,寻找-替换实际上是一个很合理的开始工作的途径。 在原来代码健壮和稳定的情况不必害怕复制。
It is completely reasonable to violate some generally good coding rules while building an experimental implementation – copy, paste, and find-replace rename is actually a good way to start.
在建立一个实验性实现的时候违反一些传统意义上的编程准则是完全合理的,复制,粘贴,寻找-替换实际上是一个很合理的开始工作的途径。 在原来代码健壮和稳定的情况不必害怕复制。
It is completely reasonable to violate some generally good coding rules while building an experimental implementation – copy, paste, and find-replace rename is actually a good way to start.
应用推荐