The disadvantage with this scenario is that designer can delete elements or make changes that can break code previously written by the developer.
此案例的缺点在于,设计人员可能会删除项目或进行变更,而破坏了先前由开发人员所撰写的程序码。
But they couldn't break the code.
但是他们一直不能破译这些密码。
If you ignore the tests forever, the code they're expected to test may break and the breakage may not be detected.
如果永远忽略这些测试,那么它们期望测试的代码可能会中断,并且这样的中断可能不能被检测到。
If we were to take the strict position of "never break existing code," we would be forced to reject this useful new feature.
如果我们有严格地立场,“从不破坏现有代码”,那么我们将被迫拒绝这项有用的新功能。
Changing these values would change the hash code, which would in turn break any hash table or dictionary that the object happened to be stored in.
而改变那些值的同时也改变了哈希码,然后会破坏一些哈希表或者恰好储存了对象的字典。
If you break something, it's your responsibility to fix it, no matter where it is in the code.
如果您破坏了某些事物,您要负责进行修补,无论它位于代码的哪一部分。
When you modify old code you have to both test your changes and then perform a set of regression tests to make sure you didn't break any of the existing code.
而当你修改旧有代码时,你不得不既要测试你更改的部分,还要进行一系列的兼容测试,以保证你没有破坏任何的旧有代码。
In addition to promoting code reuse, it can also break complex transforms into chunks that are easy to understand.
除了促进代码重用,它还可以将复杂的转换分成易于理解的程序块。
Worse, even important modifications, such as upgrades to existing components, can cause things to break throughout the code base.
更糟糕的是,即使像对现有组件的升级这样的重要修改也会导致整个代码基中断的事情出现。
Because when you change the code, you break things and introduce many bugs.
因为当你改变代码时,有可能破坏了一些东西并造成许多漏洞。
This way, code won't break when new sub-elements are added to provide more granular markup.
通过这种方式,在添加新的子元素以提供更细粒度标记时,代码就不会发生崩溃。
If you don't think about serialization while changing code, it's virtually guaranteed that you will break the legacy objects.
如果您在更改代码时未考虑串行化,几乎可以肯定您必将破坏原有对象。
Will new versions of the code generator (or its plug-ins or add-ons) potentially break my project?
新版本的代码生成工具(或是插件)不会搞乱我的项目吧?
For example, when you make a change in the code, make sure you do regression testing to be sure you did not break any other code in the program.
例如,当在代码中进行更改时,请确保进行回归测试,从而确保不会破坏程序中的任何代码。
It also should not break existing code that interacts with the data.
也不会破坏和数据交互的已有代码。
It is a good idea to already have your break point set in the agent code.
最好是代理代码中已经设置了断点。
But the real problem with unit tests as I've discovered is that the type of changes that you tend to make as code evolves tend to break a constant percentage of your unit tests.
但我认为单元测试的真正问题在于人们改进代码的同时也会破坏同等数量的单元测试。
Because people using version 1 of your JAR file have references to com.A in their code, simply upgrading to the new version of the library will break their existing code.
由于使用JAR文件版本1的人在其代码中还存在对com . A的引用,如果只是简单地升级成新版本的库,无疑会破坏他们现有的代码。
For example, the semantics of return, break, and this are different in a block of code than they are in a Runnable (or other inner class instance) that represents the same block of code.
比如,return、break和this在某一代码块中的语义与其在Runnable(或其他内部类实例)中同一代码块中的语义是不同的。
Moving the Web code may cause dependency cycles to break when the code is removed from BankingCommon.
移动Web代码可能会导致当代码从BankingCommon中删除的时候,循环依赖关系中断。
Some concurrency bugs won't break your code, but they can lead to poor application performance. Consider the synchronized block in Listing 5
有一些并发缺陷有时不会使代码出错,但是它们可能会降低应用程序的性能。
Once you've tested the basic functionality of an application, it becomes important to consider alternate pathways through the code. In most languages, you can break up your tests as follows.
当您已经测试了应用程序的基本功能,考虑代码中的替代路径就变得非常重要了。
The changes I make on the server break the code on your development machine. Remote development is slow and difficult.
开发人员相互覆盖彼此所做的修改,我在服务器上所做的改变让你的开发机器上的代码中断运行,这些都让远程开发速度很慢而且非常困难。
To use it, set a breakpoint by clicking to the left of the line of code you'd like to break on within the Python editor.
要使用调试器,可在Python编辑器中想中断的代码行的左侧点击,设置断点。
I mean, they'd have some improved quality, and they'd have the ability to change things in their code with the confidence that they don't break anything, but that's it.
我的意思是说,他们改善质量,并且他们有能力在破坏任意功能的情况下更改代码,仅此而已。
Unless quality becomes the responsibility of all team members, you won't break the code-test cycle that is at the root of the problem.
除非质量成为所有团队成员的职责,否则就很难打破“编码-测试”这样的循环,而这正是问题的根源所在。
You can break this down structure even further, marking the punctuation (the period, comma, and hyphen) or breaking the zip code into two pieces.
您可以进一步细化这个结构,标记标点(句点、逗号和短横线)或将邮政编码分为两部分。
Often, code that works in a local workspace turns out to break (or break some other code) at build time — an everyday cause of delays on most projects.
常常,在本地工作区可以工作的代码在构建时刻就出现失败(或者破坏其他代码)——这是大多数项目每天延迟的原因。
Such code is not part of the build, so checking in a broken experiment does not, by definition, break the build.
这样的代码不属于构建,所以就算提交了残缺的试验性代码也不能破坏构建本身。
Such code is not part of the build, so checking in a broken experiment does not, by definition, break the build.
这样的代码不属于构建,所以就算提交了残缺的试验性代码也不能破坏构建本身。
应用推荐