refactoring

refactoring

 英

  • 网络重构;代码重构;重整

例句

Tip: If you want the closed models to be considered, you need to perform a refactoring (as shown in Figure 16), not a simple rename.

提示如果考虑这些封闭模型需要执行一次16),不是一次简单命名

Whatever it means to you, to your project, in your environment, refactoring is important to the long-term health of any program.

无论不管项目意味什么处境来讲环境任何程序长期良性运转重要

Eclipse will not flag this error while performing the refactoring; it's up to you to select an appropriate value.

Eclipse进行时候不会这些问题只有自己选择适当

When Jim asked me to put together something on refactoring, I had to ask him what that really meant.

Jim究竟意味什么

While it would be probably too much to say that refactoring is revolutionalizing the programming, it is changing some old habits ground-up.

可以毫不夸张编程一次变革根本上改变某些有的习惯

In some cases, the unit tests themselves may be changed by the refactoring, but the point is that this should happen automatically as well.

某些情况可能改变单元测试本身重要应该自动发生

The motivation for writing comments is often same as for refactoring your code.

添加注释动机通常代码一致

And if you are promoting refactoring, or trying to educate others about it, then you should be ready to be questioned.

如果正在倡导或者试图别人讲解那么应该时刻准备提出质疑

The model can include dependencies and interrelationships that allow you to understand the impact of decisions during the refactoring.

模型可以包括依赖关系交互关系以便了解期间决策影响

You might feel that the very repetitive nature of the test methods indicates that some refactoring should be possible.

可能认为测试方法重复性特性指示能够进行

Refactoring also helps you find bugs when you're trying to fix a bug in difficult-to- understand code.

修补一个漏洞代码晦涩能够发现问题所在

If two or more developers make changes that update the refactoring log, the changes to the log file must be merged.

如果两个更多开发人员进行更新日志更改必须合并日志文件更改

After a bit of time refactoring, I had a general mechanism.

一点时间之后得到一个通用机制

Refactoring is an incremental activity hence it touches some portion of the system at a time.

一种增量式活动因此每次接触系统一部分

As I said before, I would be nervous about refactoring without tests.

以前那样而不进行测试感到不安

If you were to switch third-party implementations, any refactoring would need to happen to only the com. acme. ascp. billing package.

如果转换第三实现需要com.acme.ascp.billing进行

The bottom view will display your code with all the reference updates due to the refactoring operation.

底部视图显示代码其中包含操作引起所有引用更新

If you later decide that this data should be shared between classes, this refactoring will create a new class file from the nested class.

如果后来决定应该多个之间共享这个数据那么操作这个嵌套创建文件

One other tweak I would like to make, and then I promise I'll stop refactoring and put this module to bed.

另外一个改动调整保证最后一个之后停下来这个模块

Controlled refactoring is possible through the services model.

使用这种服务模型使成为可能

I then click "Preview" , and in the bottom window I get a list of refactoring operations, along with diffs for the currently selected item.

接下来单击预览”,底部窗口可以看见一个操作列表伴随当前选项异同比较

The design principle behind Moq is to be refactoring friendly with a very low barrier of entry.

Moq设计原则就是门槛获取良好能力

Although on the surface, refactoring is a arrangement process of code, the code is actually contained in the design of adjustment.

尽管表面代码一种整理实际上代码蕴含设计调整

Refactoring lets you easily make changes to your code in one place and have those changes show up in other places that code appears.

允许轻松地更改一个位置代码并且代码出现其他位置显示这些更改

If you change any of the files that are involved, you won't be able to undo the refactoring anymore.

如果改变其中文件不能取消

Heck, we've even managed to categorize refactoring into a handy set of patterns!

我们甚至已经设法分类一系列便利模式

In this installment, I started the discussion about using refactoring as a tool to help understand and identify emergent design.

期文章首先讨论使用作为手段帮助理解识别紧急设计

Automated refactoring is probably not that interesting at this point for the same reason.

同样原因自动化现在完善

Refactoring is an essential part of any development effort.

所有开发工作基础部分

Refactoring is the process of rewriting a piece of code so as to leave its execution behavior intact, but improve it in some other way.

重写一段代码保留运行外部特性某些方面有所改进这样过程称之为

The goal of refactoring and rewriting is, to improve the sanity of the system by improving the code readability, structure and clarity.

重写目标通过提高代码可读性结构清晰从而提高系统健壮

The Extract Method refactoring allows you to select a block of code and convert it to a method.

ExtractMethod允许选择一块代码转换一个方法

Refactoring can be a fair amount of work, but it's not as bad as you might think.

可能需要许多工作但是想像那么困难

This time, I'll continue that theme -- the many options found in db4o -- with a look at how it handles refactoring.

一次继续主题——db4o众多选项——看看db4o如何处理

Therefore, this preview does not only serve as a warning as to whether the refactoring should be performed at all.

因此这个预览不仅仅是是否应该执行所有警告

Similarly a database refactoring is a simple change to a database schema which improves the design without breaking nor adding anything.

类似数据库数据库方案简单变更破坏添加东西情况改进设计

You can then choose Preview to examine the changes or OK to carry out the refactoring immediately as shown in Figure 2.

然后可以选择Preview检查变更情况或者选择OK立即执行2

The Extract Constant refactoring allows you to convert any number or string literal in your code to a static final field.

ExtractConstant可以代码任何数字字符串文字转换成一个静态字段finalfield)。

The Extract Interface refactoring makes an interface out of the methods defined in a class.

ExtractInterface可以一个定义方法生成一个接口

The refactoring of the service model cannot be avoided, and as in agile software development, we encourage such continuous refactoring.

服务模型无法避免并且敏捷软件开发我们鼓励进行持续