• 重复代码可能代码中悄然发生

    Duplicate code can creep into a code base unbeknownst to anyone.

    youdao

  • 即便如此还是不少重复代码

    But even with this, there is still a lot of code that just doesn't need to be there.

    youdao

  • 不要重复代码的形式写注释——让每个注释都有意义

    Don't just echo the code with comments - makeevery comment count.

    youdao

  • 通用仓库模式重复代码所以有什么好处

    Generic Repository Pattern have repetition of code so what will be benefit?

    youdao

  • 低层次重复代码中抽象出来提高软件工程生产效率

    Increase the productivity of software engineers by abstracting from low-level boilerplate code.

    youdao

  • 开发者必须重复代码已有信息从而配置代码联结起来。

    They have to repeat information already in the code in order to connect the configuration to the code.

    youdao

  • 雷达逻辑的理由方法生活并不重复代码

    This method lives in the Radar class for logical reasons and to not duplicate the code.

    youdao

  • 清单3给出通知订阅器一个非常简单实现(删除了重复代码)。

    A very simple implementation of a notification subscriber (omitting repeated code) is presented in Listing 3.

    youdao

  • 清单2给出通知使用者一个非常简单实现(删除了重复代码)。

    A very simple implementation of notification consumer (omitting repeated code) is presented in Listing 2.

    youdao

  • 清单5给出通知订阅器一个非常简单实现(删除了重复代码)。

    A simple implementation of notification subscriber (omitting repeated code) is presented in Listing 5.

    youdao

  • 隔离移除重复代码后,数字分类器质数检验器就变得简单了。

    Once I've isolated and removed the duplicated code, both the number classifier and the prime-number tester are much simpler. Listing 4 shows the refactored number classifier.

    youdao

  • 代码希望能够自动重复代码必须提供唯一一名代表执行

    The code that wants to automatically iterate code must provide only a delegate implementation.

    youdao

  • 过滤器扩展功能将帮助提供完整输入评估同时减少重复代码编写工作

    The filter extension helps provide more complete assessment of input while reducing repetitive code writing efforts.

    youdao

  • 通常方法大类暗示着存在其他代码味道条件复杂度重复代码

    Often, long methods and large classes are indications of other code smells, such as conditional complexity and duplicated code.

    youdao

  • 然而确保代码中的重复代码不会增多这样目标可以实现的。

    However, an appropriate goal is to ensure that duplicate code within the code base does not increase.

    youdao

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

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

    youdao

  • 除了明显的复制-粘贴违规之外,所有地方手工查找重复代码非常具有挑战性

    Finding duplicate code manually can be quite challenging in all but the most obvious copy-and-paste violations.

    youdao

  • 但是使用诸如 CPD 之类的工具可以迅速找出重复代码然后对此进行改进

    Using a tool like CPD, however, quickly reveals duplicated code, which you can then improve.

    youdao

  • RationalRobotvu脚本代表这些步骤重复代码块组合起来的。

    Rational Robot VU scripts are made up of repetitive code blocks that represent these steps.

    youdao

  • 通过去除应用中的重复代码减少编写数据库控制逻辑工作这种方案降低总的编程

    This reduces the total programming effort by removing duplicated code in the application and by reducing the amount of effort spent in writing database control logic.

    youdao

  • 这样反反复复。通过简单移除重复代码最终“得”一个美妙而优雅模式

    Time and time again, I've found that by simply removing duplication I accidentally stumble onto a really nice elegant pattern.

    youdao

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

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

    youdao

  • 的确通过减少重复代码使得代码经得起变化我们带来了巨大好处,最终一门完备语言应该需要这样的第三方库。

    While it does give us great savings by reducing repetitive code and making code more tolerable to change, ultimately a complete language should not require this of us.

    youdao

  • 提供一个优雅应用程序模型利用代理模式的应用程序消除大量重复代码(boilerplatecode)。

    It also provides you with an elegant application model, making heavy use of the delegate pattern to eliminate much of the boilerplate code from your application.

    youdao

  • 如果大量类似固有结构,那么您可以仅仅通过更新Ant文件中的一些字段重复代码生成,从而每个结构使用相同选项

    If you have a large number of similar native structures, you can replicate the code generation to use the exact same options for each structure simply by updating a few fields in the Ant file.

    youdao

  • 清单6中,清单4中的重复代码使用了PullUpMethod重构来降低重复度—将行为较大方法提取一个抽象方法中。

    In Listing 6, I take the duplicated code in Listing 4 and reduce the duplication by using the Pull up method refactoring - extracting behavior from a larger method into an abstract class method.

    youdao

  • 求精(Refactoring):去掉编码过程中产生任何重复代码可以自信认为这么不会破坏任何东西,因为还有测试作为后盾

    Refactoring: Refactor out any duplicate code generated in a coding session. You can do this with confidence that you didn’t break anything because you have the tests.

    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

  • 每一重复代码都使得程序逻辑中出现错误几率增加

    Each block of repeated code increases the chances of introducing an error into the logic.

    youdao

  • 每一重复代码都使得程序逻辑中出现错误几率增加

    Each block of repeated code increases the chances of introducing an error into the logic.

    youdao

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

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

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