重构和分散注意力的技巧可以缓解抑郁、焦虑和愤怒。
The techniques of reframing and distraction can alleviate depression and anxiety as well as anger.
一种更有效的方法是“重构”,也就是有意识地从更积极的角度重新解释一种情况。
A more effective technique is "reframing", which means consciously reinterpreting a situation in a more positive light.
重构与自动化测试是携手并进的。
重构的目的是改善现有代码的设计。
The point of refactoring is to improve the design of existing code.
重构的伟大之处就在于它的简单。
先编写测试用例会降低重构中的风险。
重构可以帮助你赢回对代码的支配权。
Refactoring will help you win back the command over your code.
重构是敏捷团队不可或缺的。
重命名重构可能是所有重构中最常用的。
Rename refactoring is probably the most commonly used of all the refactorings.
您可以重构代码以简化样式表。
You can refactor the code to make the stylesheet much simpler.
重构是一种改进代码但不改变功能的技术。
Refactoring is the technique of improving code without changing functionality.
这种重构被认为是学习与记忆的基础。
他们重构代码,让代码更加易于测试。
重构的优点是程序员可以更轻松地维护代码。
A benefit of refactoring is that the code is probably easier for programmers to maintain.
因此,这里的教训很简单:永远不要停止重构。
注重构建和维护人际关系。
重构代码并自动化测试。
重构是指在不改变程序功能的前提下改变其结构。
Refactoring is changing the structure of a program without changing its functionality.
重构能将可以运行的代码变成运行得更好的代码。
Refactoring turns code that works into better code that works.
现在程序员已经得到了管理层的授权去重构。
我们甚至已经设法将重构分类成一系列便利的模式!
Heck, we've even managed to categorize refactoring into a handy set of patterns!
这使得我们能够对代码进行重构,不再使用全局变量。
This can open up the possibility of refactoring this code down the road to not use the global variables at all.
重构是在不改变代码结果的前提下改进现有代码的设计。
Refactoring is improving the design of existing code without changing its results.
要重构代码,首先将样式信息移到css样式表中。
To refactor the code, start moving the style information to a CSS stylesheet.
本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。
This section offers a step-by-step description of the Extract and Override factory method refactoring.
良好的重构工作能够使业务的运营效率得到显著提高。
Doing a good job of this reengineering can make a significant improvement to a business's operational efficiency.
最近几天,我和同事们重构了一下我们电子教学系统的代码。
For several days now, my colleagues and I have been refactoring our eLearning code.
再加上一个好的工具,迈开重构的第一步简直就是轻而易举。
This, coupled with a good tool, makes first steps in refactoring a breeze.
正确使用数据建模工具有助于避免在后续阶段重构应用程序。
Proper usage of data modeling tools helps to avoid re-factoring of the application at later stages.
重构是一项功能强大的技术,但是执行起来需要倍加小心才行。
Refactoring is a powerful technique, but it needs to be performed carefully.
应用推荐