• Normally, the check method of binary is not suitable to the multiple value data. The duplication code and complementary code given in the paper can be applied to check arbitrary value data.

    一般二进制校验方法适用校验数据给出重复互补码,适用任意值数据校验。

    youdao

  • This rule, and the rule to do one thing, are both corollaries of an underlying principle: avoid duplication of code whenever possible.

    规则以及做好件事情规则,根本原理必然结果无论何时都要尽可能避免代码重复

    youdao

  • You can reduce code duplication by abstracting the common behavior and including it in the generic DAO, where all users of the class will have access to the functionality.

    提取通用行为把它们包含DAO 中,所有用户通过泛型 DAO访问这些功能,这样就可以减少代码重复

    youdao

  • Duplication harms projects because it resists attempts to make structural changes or refactor toward better code.

    复制项目有害因为不利于做出结构更改重构更好代码

    youdao

  • Duplication in code obscures the design because you can't find idiomatic patterns.

    代码复制使设计变得更加模糊因为无法找到惯用模式。

    youdao

  • At first glance, this strategy seems like a good ideacode duplication is a bad thing, so consolidating these duplicated paths should be an improvement.

    看,策略似乎一个方法——但代码副本错误所以整合这些复制路径应该改进

    youdao

  • This kind of structure is an example of a bad "code smell" in that it relies upon duplication.

    这种结构代码味道一个例子,原因在于依赖于复制。

    youdao

  • This enabled me to avoid code duplication more elegantly than I could have with a procedural language.

    使得可以避免代码重复,从而使用过程语言更为优雅

    youdao

  • The measure for finding duplicated code is to search for code duplication within classes and among other classes in the code base.

    查找重复代码度量方法代码中的内部其他之间搜索代码重复

    youdao

  • This can be tedious to maintain because it imposes a duplication of code.

    这样维护起来非常繁琐,因为代码是重复

    youdao

  • Creating intermediate facts is a useful pattern to avoid duplication of rule code.

    避免规则代码复制创建中间事实一个很有用的模式

    youdao

  • Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.

    虽然他们定义简洁代码侧重点不尽相同,但其中仍有共通之处:简单重复读、优雅。

    youdao

  • You can, however, refactor without performing TDD and still banish duplication while making the code simpler, easier to understand, and more flexible.

    当然也可以执行TDD方式进行重构以去除重复代码使更简单灵活易于理解

    youdao

  • 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.

    还有另一个重要原则第一案例中我们介意一些重复代码如果能够明确如何消除重复代码,我们愿意这么做现在还没有,我们仍然希望能找到清晰的解决方案。

    youdao

  • Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.

    清单9显示了利用可重用代码第2部分”中引入一个模式,它以删除结构性重复名义

    youdao

  • Over time you will start to see patterns and duplication across code fragments and application functionality which will help achieve synergies.

    随着时间的推移,看到多个代码片段应用功能中存在的模式重复的代码,对起到增效作用很有帮助

    youdao

  • And just as code duplication can make a software program more difficult to maintain, so too does duplicate code in build scripts.

    代码复制软件程序难于维护,同理,构建脚本中的复制代码存在这样的问题。

    youdao

  • This duplication doesn't appear in tools like CPD because the values in each instance of the repeated infrastructure are indeed unique, but it harms your code nonetheless.

    这种复制并不会出现CPD之类工具因为重复基础设施每个实例必须惟一的。尽管如此,仍然会损害代码

    youdao

  • Named templates are particularly useful for dividing your code into smaller chunks and avoiding code duplication.

    命名模板对于代码划分较小区块避免代码内容重复非常有用

    youdao

  • CPD reports code duplication.

    CPD报告代码重复

    youdao

  • The generic DAO pattern (also called Typesafe DAO) is critical to reducing code duplication in the data access tier.

    dao模式(称为类型安全的DAO)对于减少数据访问中的代码重复非常重要。

    youdao

  • CPD: a freely available code duplication tool from the PMD team.

    CPD来自PMD小组免费代码复制工具

    youdao

  • This article's code examples (see Download to obtain the full package) show how to use these interfaces to facilitate auditing and reduce code duplication in data access objects (DAOs).

    本文代码示例(下载可以获得完整代码)演示如何使用这些接口帮助执行审计减少数据访问对象(DAO)中的代码重复

    youdao

  • Reducing code duplication in the data access tier.

    减少数据访问中的代码重复

    youdao

  • This logic in the session bean will force the clients to always do the right thing, ensuring consistency in the application and preventing code duplication at the client side.

    会话bean中的这个逻辑强制客户机一直正确事情确保应用程序中的一致性防止客户端的代码重复

    youdao

  • Catching code duplication with CPD.

    CPD捕捉代码重复

    youdao

  • You might think that storing the strings in an ArrayList would make the code simpler, easier to understand, and avoid duplication, but you might also choose to defer this decision for now.

    可能认为ArrayList中存储字符串可以使代码更简单容易,更利于理解同时避免重复但是可以选择其它解决方案。

    youdao

  • There's a bit of code duplication in the Person class, but I'll leave that for a later refactoring exercise.

    person一些重复代码留给稍后重构练习

    youdao

  • PMD's CPD: Enables discovering code duplication

    PMDCPD帮助发现代码重复

    youdao

  • The solution to this type of duplication is to refactor the code into a single Factors class, which appears in Listing 3.

    去除重复解决方案代码重构一个单一factors清单3所示。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定