Now, if you can, it's best to abstract out the boilerplate portions into a function.
现在,如果可以,最好是能够将这些样板部分抽象成一个函数。
This means that you can abstract out a complete, and possibly complex, sequence as a single conceptual unit.
这意味你能把完整的、可能比较复杂的序列,抽象为一个单一的概念单位。
Rails framework committers seek to abstract out repetitive tasks with methods that often look like extensions of the Ruby language.
Rails框架委员会使用通常看起来像是Ruby语言的扩展的方法来把重复的任务抽象出来。
It is common in object-oriented development to abstract out a common interface that may have multiple implementations and write code that works with the interface, making it more reusable.
在面向对象的开发中,有一种实践很常见:抽象出一个可能拥有多个实现的接口并编写代码以使用该接口,从而使其可以重复利用。
It is at this point that the seasoned programmer would tell you it's time to refactor, that is, to place the responsibilities of a system at their correct level and abstract out common functionality.
有经验的程序员就会在这个时候指出重新整理要素的时候到了,即,将系统的职责置于它们正确的层并且提取共同的功能性。
The abstract is not life and everywhere draws out its contradictions. You can refute Hegel but not the Saint or the Song of Experience.
抽象的不是人生,处处都,显露出矛盾,你可以反驳黑格尔,但不能反驳圣人或经验之歌。
You can't (or at least I can't) draw abstract models out of thin air.
抽象的模型不能凭空画出来的(至少我不能)。
You can abstract this out with yet another convenience function, shown in Listing 5.
可以用另一个便利函数抽象这个过程,如清单5所示。
Can you imagine anything more abstract, more mysterious, for a child to figure out?
你能想到什么事情,对于孩子来说,更抽象、更神秘么?
Although this level cannot be determined in the abstract as it is a national task, key elements are set out to guide the priority setting process.
由于这是一项国家任务,所以不能抽象地确定这一水平,但是,提出了关键要素以指导重点制定工作。
If the mathematical ideas are out there, waiting to be found, then somehow a purely abstract notion has to have existence even when no human being has ever conceived of it.
如果数学思想在某处等待着被发现,那么即使人类从未构想,一个纯粹抽象的概念也必须存在。
Probably one of the most colorful and abstract 404 error pages out there.
或许是最抽象,最花哨的404页面之一。
The 3-D images are mainly the depiction of hunting scenes, red images of the now extinct wild cattle and stags, and eagles swooping down on abstract figures once carved out of the walls of Çatalhöyük.
三维影像主要描绘了狩猎场景,现已绝迹野生牛和雄鹿的红色图像,以及俯身下扑抽象动物的老鹰,这些都源自恰塔霍裕克的壁画。
The remainder of the listing prints out the abstract, body, and any attachments to the announcement.
这个清单的其余部分输出公告的摘要、主体和任何附件。
Controllers carry out your application logic in its abstract form.
控制器以其抽象形式执行应用程序的逻辑。
All your code is for naught if users can't hop online and buy items from their favorite vendor or find out how much the newest abstract watercolor from their local gallery costs.
如果用户无法上线、无法从他们喜爱的厂商那里购买商品、无法在当地美术馆中找到最新抽象水彩画的价格,那么您的所有代码都等于零。
A template describes a composite application in an abstract way, including information which defines how complex business logic is assembled out of a given set of components.
模板以抽象方式描述组合应用程序,其中包括定义如何使用一组给定的组件组装复杂业务逻辑的信息。
The RPC-style integration USES WSDL to take a "regular" method call and abstract it out to SOAP.
rpc式集成使用WSDL来进行一个“常规”方法调用,并将其抽象出来发送到SOAP。
But as soon as you find your strengths as a company, abstract it out into an idea and focus on that.
但是一旦发现自己作为公司的强项时你需要把这点抽离成一个想法然后专注于此。
It is an abstract from an accounting practice out of theory to guide practice.
它是从会计实践中抽象出来,用以指导实践的理论。
Other than the abstract property, the bean definition simply points out that I want an instance of GenericDaoHibernateImpl and that it needs a reference to a SessionFactory.
除了抽象特性之外,该bean定义只指出我想要GenericDaoHibernateImpl的实例以及该实例需要对 SessionFactory 的引用。
Ganesh points out that "the" canonical data model is typically too high-level and abstract for the practical use.
Ganesh指出所谓规范的数据模型通常层次较高且对于实践应用来说过于抽象。
Yoichi Shibuya, the best interviewer of Miyazaki, drew out the true intentions of various things about Studio Ghibli from Hayao Miyazaki and Toshio Suzuki. An abstract of interview follows.
宫崎骏的最佳采访者,涩谷阳一,通过与宫崎骏和铃木敏夫的对话推测出了吉卜力工作室接下来的各种企划。
Abstract: By theoretical inference and calorific value calculation method, theoretical economic ratio of making use of propane gas is found out.
文摘:采用理论推导和热值计算法,可求出使用丙烷气的理论节约率。
Find out more about Schematron, a very powerful schema language based on rules and abstract patterns.
查找有关schematron的更多信息,它是一种基于规则和抽象模式的功能非常强大的模式语言。
An inclusive decision captures an n-out-of-m choice [23] at an abstract level, i.e., the inclusive decision can trigger any subset of the two branches in this example.
inclusivedecision可在抽象级别捕获m中选n的选择[23],即在此示例中,inclusivedecision可触发两个分支中的任意一个。
Designed with copper cladding and wide Windows, the extension stands out from the existing building by the abstract use of materials without denying its allegiance to the new complex.
镀铜表面和大面积窗户——材料的抽象使用方式使得扩展建筑从原有建筑中脱颖而出。
Designed with copper cladding and wide Windows, the extension stands out from the existing building by the abstract use of materials without denying its allegiance to the new complex.
镀铜表面和大面积窗户——材料的抽象使用方式使得扩展建筑从原有建筑中脱颖而出。
应用推荐