因此,我将根据组合方法模式重构这个方法,看看是否可以分离出原子性部分。
So I'll refactor this method, with composed method in mind, to see if I can isolate the atomic parts.
即便是最基础的模式重构,如转换局部定义到全局定义,也不被主流WSDL和模式工具所支持。
Even the most basic schema refactorings, such as converting a local definition to a global definition, are not supported by the dominant WSDL and schema tools.
上一个月,我向您展示了如何使用ExtractMethod模式重构您的代码,从而将您带出迷宫。
Last month, I showed you how to use the Extract Method pattern to refactor your way out of the maze.
描述了一种空间化的姿态约束表达方法,并针对稳定定向模式面临的约束问题提出了姿态定向的模式重构算法。
A spatially attitude constraints monitor method was described, and an attitude pointing mode reconfiguration algorithm was proposed to solve the constraints problem with stabilization pointing mode.
您可以使用或不使用特定的设计模式来进行重构。
You can apply refactorings with or without the use of certain design patterns.
我们利用重构技术、设计模式和其他计算方法从我们的应用程序中去掉发臭的代码片段。
We use refactoring techniques, design patterns, and other computational methods to remove the smelly code segments from our applications.
拥有优秀核心品质的人会提出最优的方法,包括编写单元测试和重构;学习设计模式,并且最重要的是:开发出众并实用的软件。
People with good core qualities will pick up the best approaches including writing unit tests and refactoring; learn design patterns and what is most important -deliver great and useful software.
我们甚至已经设法将重构分类成一系列便利的模式!
Heck, we've even managed to categorize refactoring into a handy set of patterns!
在敏捷软件开发的世界中,设计模式的使用、重构,它们都是使用适应性重用的例子。
In the Agile software world the use of design patterns and refactoring are examples of adaptive reuse applied.
正因为如此,我喜欢在事后使用模式,重构程序,让模式显现出来。
Because of this I really like to use patterns after the fact, refactoring to patterns.
一旦客观地判断出代码中有问题,那么就可以用方便的重构模式改进它。
Once you've objectively determined there's a problem in the code, you can use a handy refactoring pattern to improve it.
为了满足新的需求,设计也在不断演化,关键对象承担着各种模式角色,直到它们变得难以使用或者难以修改,最终不得不重构或者重写系统。
As the design evolves to meet new needs, key objects are loaded with pattern roles until they become hard to use or hard to change and the system has to be refactored or rewritten.
这就引出了下一个模式:重构。
这就是在“利用可重用代码,第1部分”中我最终重构到它的惯用模式中的代码。
This is the code I ultimately refactor into its own idiomatic pattern in "Leveraging reusable code, Part 1."
对,重构从一诞生之初,就从未放言像面向对象或面向方面编程那般会成为一种划时代的全新模式。
Okay, refactoring does not pretend to be imposing radically new paradigms like object-oriented or aspect oriented programming when they appeared for the first time.
WID的重构不能够处理命名空间、名称和模式值等简单改变。
WID refactoring could not handle simple changes to namespace, name, and schema values.
重构模式的目的在于向现有应用程序添加消息接口——通常为SOA接口,适合作为服务使用,使用WSDL进行描述。
The purpose of the refacing pattern is to add a message interface — typically an SOA interface, suitable for use as a service, described in WSDL — to an existing application.
因此,我们重构了便利层api,使用委托设计模式而不是继承。
As a result, we might opt to refactor the convenience layer API by using a delegation design pattern instead of inheritance.
重构模式要求进行少量的应用程序更改,可以作为实现完全组件化过程中重要的一步。
The refacing pattern, requiring modest application changes, can be a useful step toward full componentization.
提供用于修复代码味道的重构和模式(在某些情况下)。
Present the refactoring and, in some cases, the patterns to fix the code smell.
学习OOP、设计模式、简洁代码和重构。
当修改这些类中的代码时,就能够实现特定的重构(比如MoveMethod)和特定的设计模式,以逐步改进可维护性。
When I modify code in these classes, I can implement certain refactorings such as Move Method along with certain design patterns to improve the ease of maintenance incrementally.
除了简单使用对象和方法,正式的Jo对象使用了重构过的“观察者模式”OOP标准。
Aside from simple utility objects and methods, formal objects within Jo use a refined "observer pattern" OOP standard.
和模式3中一样,可以使用mashuphub转换数据(过滤、重构或排序),并支持对受保护数据源的访问控制。
As in pattern 3, the mashup hub can be used to transform the data (filter, restructure, or sort) and to enable access control of protective data sources.
从ClearCase的SCC工作流中,您可以使用配置管理单元的状态的SCC模式视觉提醒,执行ucm操作,并重构存储库。
From the SCC workflow with ClearCase, you can use the SCC mode visual indicators of the state of a configuration management unit, perform UCM operations, and restructure a repository.
重构的解决方案:反模式有用的范围是:可以帮助我们从陷阱中解脱出来,或者完全避免这些陷阱。
Refactored solution: Antipatterns are useful to the extent that they can help us extricate ourselves from traps, or avoid them entirely.
为了避免此反模式,需要集中精力进行设计重构,以将各个数据片断组合到一个文档中,以消除通信量过多的服务。
To avoid this antipattern, a focused effort should be on refactoring the design to combine individual pieces of data in one document thus eliminating the chatty services.
它们通常捕获重构解决方案描述,说明如何更改反模式,以得到更为稳定的解决方案。
They typically capture refactored solution descriptions, showing how to change the antipattern into a healthier solution.
这说明应该考虑对它进行重构,消除一定的复杂性,寻找可提取出的重复的模式。
That suggests that it is a good candidate for refactoring to remove some of the complexity and see if you can find some abstractable, repeating patterns.
如果包装模式的操作成本较高,IT 将对使用频繁的应用程序进行重构或组件化来提高性能。
If wrapping incurs higher operational costs, the IT organization refaces or componentizes heavily used applications to improve performance.
应用推荐