• Refactor when the code is difficult to understand and the team is not sure of what it does.

    代码难于理解并且团队不能确定什么的时候进行重构

    youdao

  • Any new code should not be developed depending on these options being set, and you should look for ways to refactor your existing code away from using them if possible.

    应当基于设置这些选项开发任何代码而且可能的话应当寻求方法重构现有代码,避免使用它们

    youdao

  • Since I've captured early requirements in the form of test cases, I can easily refactor my code.

    由于已经通过测试用例捕获了早期需求,我可以轻松地代码进行重构

    youdao

  • An important thing to note here is that you should either design and write new code, or refactor existing code.

    这里注意重要一点应该要么设计编写代码要么重构现有的代码。

    youdao

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

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

    youdao

  • You may not have success with test-first development, but accumulating test collateral gives you the freedom to refactor your code.

    可能没有测试第一的开发中成功过,测试会间接您带来重构代码的便利。

    youdao

  • You can refactor the code to isolate the data access functions into a separate file as homework.

    作为练习可以代码进行重构数据访问函数分离单独文件中。

    youdao

  • This is the code I ultimately refactor into its own idiomatic pattern in "Leveraging reusable code, Part 1."

    就是利用可重用代码第1部分”中最终重构惯用模式中的代码。

    youdao

  • Tools can recognize errors and effectively restructure, or refactor, code.

    工具可以识别错误有效地重构代码

    youdao

  • Programmer tests also give developers courage to refactor the code, because a test failure tells the developer immediately if something's broken.

    程序员测试给予开发者重构代码勇气因为测试失败会立即告诉开发者是不是有地方出了问题。

    youdao

  • There are several reasons that you might want to refactor code. The first is the stuff of legend: the hoary old code base for a venerable product is inherited or otherwise mysteriously appears.

    需要进行代码重构原因可能以下几个:传说中的第一个原因:需要继承某个古老产品而开发的年代久远的代码,或者突然碰到这些代码。

    youdao

  • If you're already building code this way, you can better recognize and refactor bad implementations.

    如果已经在用这种方式构建代码,那么您就可以更好地识别重构不好的实现。

    youdao

  • If you have 100 percent code coverage on your project, you can refactor your code with impunity.

    如果项目代码覆盖率达到了100%,那么可以安全地重构代码。

    youdao

  • When we refactor the code this way, we realize that we don't really care about observing buttons; we care about observing clicks.

    我们开始用这种方式重构代码时候,我们意识到我们实际上关心观察按钮;我们关心的是“观察”点击。

    youdao

  • This partitioning of code by functionality makes it easy to identify particular responsibilities, refactor, and maintain.

    这种通过功能划分代码方式使我们更易识别特定职责进行重构维护工作

    youdao

  • That's not a problem over the long term, as long as you go back later and refactor the code into smaller bites.

    从长远来说不是一个问题要记得回过头来将它重构更小的部分。

    youdao

  • Given that everyone on the team will be going through the "write a test, fix the code, refactor" cycle frequently, it's essential that you can both write and run tests efficiently.

    假使项目中的一个人都周而复始地重复“测试修改代码重构”,当然有必要使测试工作更加有效

    youdao

  • Tested code is easier to refactor, maintain, and enhance than code without corresponding test cases.

    没有相应测试案例的代码相比,经过测试的代码容易重构维护增强

    youdao

  • It's far better to build code that's easy to refactor and exactly what you need.

    最好构建易于重构并且完全是需要的代码

    youdao

  • To improve the code in Listing 6, I'm going to refactor it with SLAP in mind.

    为了改进清单6中的代码根据SLAP原则重构

    youdao

  • Refactor your code and automate your tests.

    重构代码自动化测试

    youdao

  • Refactor and rename within user code

    用户代码重构重命名

    youdao

  • As with JBuilder, one of Eclipse's most powerful features is the ability to refactor code.

    eclipsejbuilder类似,其中一个强大的特性就是代码重构能力

    youdao

  • This is similar to trying to answer the question "how can I refactor my code and how much refactoring is appropriate for a given situation?"

    试图回答如何重构代码给定情形下多大程度的重构才是合适的?”

    youdao

  • This solution helps us get the code quickly into WebSphere Studio, where the refactoring process is very easyand working code (in any form) is easier to refactor than non-working code.

    这个解决方案帮助我们快速的将代码导入WebSphereStudio,它使得重构过程非常容易——并且工作的代码(无论什么形式)不能工作的代码容易重构

    youdao

  • Mary: "I'll need at least two days to write the tests, then I'd like to refactor the code, and then I'll add the features."

    Mary:“至少需要编写测试然后我会重构这个代码增加新的功能。”

    youdao

  • Doing this puts your test data in one place and makes your code cleaner and easier to refactor.

    这样使得测试数据放在一个地方从而使代码更干净容易重构。

    youdao

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

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

    youdao

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

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

    youdao

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

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

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