• 工厂需要大量冗长重复代码

    Factories require a lot of tedious, repetitive code.

    youdao

  • 在这里许多重复代码

    There is a lot of repeated code here.

    youdao

  • 整个样式表每行重复代码

    The code for each row and column is repeated throughout the stylesheet.

    youdao

  • 是被认为是重复代码

    Is this considered code duplication?

    youdao

  • 使用“寻找匹配副本”功能,我们能够找到重复代码

    The “find matching clones” looks for duplicated code.

    youdao

  • 对于所有重复代码一定出现不一致性,因此很难进行维护

    With all that repeated code, you're bound to have inconsistencies, and it will be hard to maintain.

    youdao

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

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

    youdao

  • 当然重复代码表示街道城市两个私有数据成员

    The duplicate code is, of course, the two private data members for street and city.

    youdao

  • 想一想那些重复代码需要重新设计整个层次

    Think about all of the duplicated code you'd now have spread throughout your entire class hierarchy.

    youdao

  • 清单2注释之后是否看到了来自清单1重复代码

    Just after the annotations in Listing 2, can you spot two lines of duplicate code from Listing 1?

    youdao

  • 这样情况下指示出那些至少10类似重复代码

    In this case, it will only indicate blocks of code that have at least 10 lines that are similar or have been duplicated.

    youdao

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

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

    youdao

  • 觉得编程逻辑错误知道如何解决没有丑陋大量重复代码

    I feel like my logic in the programming is wrong but I am not sure how to fix it without lots of ugly repetitive code.

    youdao

  • 然后需要考虑代码将要完成的任务是什么而只需要坚定移除这些重复的代码

    Then, without really thinking about what it is you're trying to achieve, just pigheadedly try to remove that duplication.

    youdao

  • 例如如果他们看到抽象的机会,他们就会进行重构,具体实现中除去重复代码

    For example, if they see an opportunity for abstraction, they refactor to remove duplicate code from concrete implementations.

    youdao

  • 有时候使用这种语句嵌套for循环if语句更好可以减少重复代码而且结构清楚。

    Using such a statement can sometimes be a better route than nested for loops or if statements to cut down on repetitive code or just for better structure.

    youdao

  • 我们示例中,需要suffix . py脚本因为脚本结尾处重复代码并不

    Is not necessary, because we don't repeat a lot of lines at the end of the scripts. But we do have to specify which page we will be loaded next?

    youdao

  • 正如所指出,为了设置定时器确定动画当前进度需要编写大量必不可少却又一再重复代码

    As the book illustrates, there is a lot of boiler-plate code required in order to setup timers and determine the current progress of the animation.

    youdao

  • 靠人工来寻找重复代码项挑战使用CPD这样插件编码轻松地发现重复的代码

    Finding duplicate code manually is challenging, but using a plugin like CPD, however, quickly reveals duplicated code while you are coding.

    youdao

  • Eclipse的PMD插件提供了一项叫做CPD(复制粘贴探测器)的功能,用于寻找重复代码

    The PMD plugin for Eclipse provides a feature called CPD (or Copy Paste Detector), which finds duplicated code.

    youdao

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

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

    youdao

  • 喜欢编写新的代码喜欢采用一些现有代码某种方法将其简化重复的代码提取一个公共中。

    I'd rather write new code, but I enjoy taking some existing code and reducing complexity in a method or extracting duplicate code into a common class.

    youdao

  • 考虑一下只有自动化或者紧密控制流程才能带来可重复代码人类并不擅长记住启动或者终止计时器

    Consider that only automated or tightly controlled processes can give you repeatable metrics; humans aren't good at remembering to stop and start stopwatches.

    youdao

  • 系统存在缺陷主要包括功能重复代码合理设计这些问题大型J2EE系统尤其是BOSS系统中普遍存在。

    The main faults of the original system contain duplicated codes and defective design, and these are common for J2EE system especially BOSS.

    youdao

  • 为了消除这些重复代码许多测试框架提供一次性指定每个测试需要运行setupteardown 代码的机制。

    To eliminate repetitious code like this, many testing frameworks provide a way to indicate once what setup and teardown code needs to run for each of entire groups of tests.

    youdao

  • 添加ViewComponentParam属性可以告知MonoRail参数作为属性绑定视图组件上——减少了重复代码规则

    Added ViewComponentParam attribute which tells MonoRail to bind the arguments as properties on your view component - reducing repetitive code rules.

    youdao

  • 正如命令式版本中所一样,我将重复代码提取factors中,并且便于阅读factors方法的名称改为of如清单8

    Just as I did with the imperative versions, I extract the duplicated code into its own factors class, changing the name of the factors method to of for readability, as shown in Listing 8.

    youdao

  • 一旦运行cpdeclipse目录下会创建出report文件夹其中包含一个叫做cpd. txt文件,文件所有重复代码

    Once you've run CPD, a report folder is created in your Eclipse root directory containing a file called cpd.txt, which lists all duplicate code. An example of the cpd.txt file is shown in Figure 9.

    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

  • 不仅使避免了又一遍重复编写相同代码使应用程序易于维护

    Not only does this save you from repeating the same code over and over, but it also makes your application much easier to maintain.

    youdao

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

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

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