refactor

refactor

 英

  • 网络重构;重构你的代码;代码重构

例句

The only solution is to refactor (in other words, modify) the code to perform the sanitization, enabling a tool to understand it.

唯一解决方案换句话说就是修改代码进行清除使工具能够理解

So I'll refactor this method, with composed method in mind, to see if I can isolate the atomic parts.

因此根据组合方法模式这个方法看看是否可以分离原子部分

The Configuration section has clickable links to refactor the name or namespace of the business object, as shown in Figure 5.

Configuration部分提供用来业务对象名称名称空间单击链接5。

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

长远来说并不是一个问题记得过头部分

Additionally, the effort will be fruitful when you are trying to refactor existing software assets to be more reusable.

另外软件资产使容易重用一点卓有成效

I do refactor softwar confide not know any other reliable way of having the same kind of confidence.

知道有拥有可以代码什么其他办法能够获得如此信心

The next step is to refactor the Airport infrastructure to take advantage of this new geocoding service.

下一步重新构造Airport基础设施利用这个地理编码服务

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

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

Creating the test code using the Selenium IDE may be easy to use initially, but it is difficult to generalize and refactor.

使用SeleniumIDE生成测试代码可能开始比较容易归纳起来困难

I'm also trying to figure out how to refactor the deployment system to make it more extensible and simpler.

尝试找出如何部署系统使简单扩展性

You ve got to be willing to refactor your code when this happens.

出现这种情况需要代码

Granted, we could refactor the code in such a way that we could put a similar, ordinary, assertion on the field.

当然我们可以字段放置类似普通断言方法代码

When you see opportunities to refactor or create reusable assets, do separate them from the rest of your application code.

看到创建可重用资产机会不要这些工作应用代码剩余部分掺杂一起

It seems like at some point, if the code just has no structure, it's more effective to rewrite it than refactor it.

这次经历说明某些时刻如果代码完全没有结构那么重写比重有效一种方法

For development, strive for simplicity, integrate your build at least daily, and refactor when necessary.

为了开发努力进行简化保证至少每天集成构建程序必要进行

You can select the portion of code to move to its own function and choose Refactor - Extract Method.

可以选择自己函数代码部分然后选择Refactor-ExtractMethod。

"Refactor with abandon! " Can be heard in the distance as defects become a distant memory and the responsibility of the weak and inferior.

远处可以听到放任声音似乎缺陷成为遥远记忆响应微不足道

These tests often become a real maintenance burden, as they are slow and brittle, and often hard to refactor.

由于这些测试脆弱常常难于它们通常成为名副其实维护负担

If naming conflicts indeed occur during the integration, the tool can help you to refactor.

如果集成期间命名冲突发生工具可以帮助进行

We've made it very easy to refactor your test suite, and we've given you the ability to mix manual and automated testing.

我们可以容易测试套件而且我们提供混合手动测试自动测试能力

If the waft of inconsistent, unrepeatable, and unmaintainable builds is in the air, take the time now to refactor these vital assets.

如果构建飘散不一致不可重复不可维护气味那么现在时间这些至关重要资源

Without coding standards, it is harder to refactor code, harder to switch pairs as often as you should, and harder to go fast.

如果没有编码标准重新划分代码更加困难应当频度交换困难快速前进困难

In such cases, it's usually a good idea to refactor the code out into a user-defined function, which the key-mapping can then call.

这种情况通常最好代码一个用户定义函数映射随后可以调用函数

Projects that have worked a long time to implement the wrong details will not be able to refactor their code easily .

长期进行实现错误细节项目难以使它们代码变得简单

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

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

Unit tests represent the primary safety net that allows you to refactor your code base at will.

单元测试可以提供重要安全屏障允许按照自己意愿代码

Sometimes the best way to save space is to refactor the application, with space-efficiency as a high-level design goal.

有时节省空间最好办法就是整个应用程序空间紧凑作为一个高级设计目标

Renaming directly in the diagram can be a simple rename or refactor.

直接命名可以一个简单命名或者

Other team members or management might even be oblivious to the fact that from time to time you reach for "Refactor" option inside your IDE.

其他团队成员管理方式可能忽略这样一个事实就是需要不停IDE使用Refactor选项

You refactor your Ant build file and create four new tasks (three for individual test types and one to run them all).

Ant构建文件创建4任务单个测试类型创建运行所有这些测试类型创建)。

You can override methods, rename identifiers, refactor parameters, and implement interfaces and abstract classes.

可以重写方法重命名标识符参数以及实现接口抽象

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

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

Do refactor. I cannot stress the value of this enough.

价值如何强调过分

So, when a designer adjusts one element, she needs to refactor the overall composition to restore balance.

如果调整元素设计师需要重组全局平衡

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

EclipseJBuilder类似其中一个强大特性就是代码能力

To do so, you can use the Grails command create-service and refactor your code to move business logic to the service class.

为此可以使用Grails命令create-service并重代码业务逻辑服务

With this in mind, I try to refactor the applications I develop (or mentor or project manage) regularly.

这种观念尝试定期自己开发或者指导或者项目管理应用程序

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

单元测试还给开发人员勇气重新划分代码因为测试失败可以立刻告诉开发人员存在错误

Deploy database refactoring changes: After you refactor the database project, you must deploy those changes to a target database.

部署数据库更改数据库项目之后必须这些更改部署目标数据库

This is less desirable as the method above, because creating the interface does let you refactor your code to make it cleaner.

上面方法一样一点令人满意因为创建接口的确能够分解代码使变得更加清楚

热门查询