• While the example in the article focused on merely extracting weather information about Seattle, Washington, nearly all of the code presented here is reusable for any data extraction.

    尽管本文中的示例仅集中于抽取有关华盛顿,西雅图天气的信息,但是这里出现的所有代码几乎都可以在任何数据抽取中重复使用。

    youdao

  • As you know from the previous installments in this series, my contention is that every piece of software includes reusable chunks of code.

    通过本系列的前几期,您已经知道,我的观点是软件的每个部分都包括可重用的代码块。

    youdao

  • Due to its higher level of abstraction, patterns are often more reusable than code.

    由于它抽象的层次更高,所以通常模式比代码更易于重用。

    youdao

  • The goal of this article, as with its predecessor, is to show legible and reusable code, not necessarily the shortest or most efficient version of a program.

    本文的目的与上一篇相同,即要演示清晰且可重用的代码,而这些代码未必是某个程序的最简短或最有效的版本。

    youdao

  • This model requires both parties to stick to a programming convention that may not be relevant to the software's basic functionality and, in general, can make the code less reusable.

    这种模型需要双方都坚持一个可能与软件基本功能无关的编程约定,而且在一般情况下,这个编程约定可能使代码更加不可重用。

    youdao

  • More than just a component of reusable code, a service is part of a running program that can be invoked by a client without having to incorporate the code itself.

    服务不仅是可复用代码的组件,更是运行程序的一部分,客户端可以不必合并它自己的代码直接调用该程序。

    youdao

  • Its declarative processing model allows for very maintainable and reusable code.

    它的声明性处理模型使代码很容易维护和重用。

    youdao

  • Write reusable code modules that can be invoked for specific elements and attributes.

    编写能够被特定的元素和属性调用的可重用代码模块。

    youdao

  • Since the mechanics of applying XSLT stylesheets to XML in PHP are generally the same, the process can be refactored out of the business-specific code into something more reusable.

    因为在php中对XML应用xslt样式表的方法通常是相同的,因此,可以将特定于业务的代码提取出来,从而实现更易重用的过程。

    youdao

  • I'll continue with the generic-validator implementation in the next section, where you'll really begin to see the value of reusable and reconfigurable code.

    在下一节中,我会继续采用通用验证器的实现,在那里您会真正开始发现可重用和可配置代码的价值。

    youdao

  • A good development practice is to move as much code as possible into reusable routines, functions, classes, or components, which can be grouped into libraries or frameworks.

    一种好的开发实践是将尽量多的代码移入可重用的例程、函数、类或组件,而这些例程、函数、类或组件均能划分到库或框架中。

    youdao

  • You still need to design a sound application and develop it with solid and reusable code and thorough testing.

    您仍需要设计一个完善的应用程序,用可重复使用的可靠代码开发它,并对其进行彻底测试。

    youdao

  • If you script it yourself, you can most likely create a reusable library and externalize the code.

    如果您自己编写脚本,则一定很希望创建一个可重用的库并外部化该代码。

    youdao

  • This is the code I ultimately refactor into its own idiomatic pattern in "Leveraging reusable code, Part 1."

    这就是在“利用可重用代码,第1部分”中我最终重构到它的惯用模式中的代码。

    youdao

  • The use of generics makes your code base much more maintainable, especially as it grows and you turn code elements into reusable libraries.

    泛型的使用使您的代码库更容易维护,尤其当代码库不断增长,以及将代码元素转换为可重复使用的库时。

    youdao

  • Unlike a tightly coupled approach, using dynamic proxies leaves you with validation code that is reusable and configurable.

    与紧密耦合方法不同,使用动态代理给您带来了可以重用、可以配置的验证代码。

    youdao

  • Performance implications are particularly important to evaluate when you are writing code for a reusable library.

    在您编写可重用库的代码时,评估性能牵连就显得尤其重要。

    youdao

  • Here I'll talk about what to do once you've unearthed reusable design in code, covering techniques for harvesting those patterns.

    在这里我要讲一下在发掘出代码中的可重用设计之后应该做些什么,介绍获取这些模式所用的方法。

    youdao

  • While this approach works to decouple the interface's validation logic from its core business code, it isn't very reusable or configurable.

    虽然这种方法可以把接口的验证逻辑从它的核心业务代码去耦,但是它的可重用性和可配置性不是很强。

    youdao

  • This code fragment can be reduced back to a single line by moving the JSTL code into a reusable tag file that outputs the element.

    通过将JSTL代码移动到输出元素的可重用标记文件中,就可以将此代码片段缩减为一行。

    youdao

  • Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.

    清单9显示了我在“利用可重用代码,第2部分”中引入的一个模式,它以删除结构性重复为名义。

    youdao

  • After placing generic code into reusable components or frameworks, consider using code generators to produce specialized code more efficiently.

    在将泛型代码放入可重用组件或框架时,可以考虑使用代码生成器来更有效地生成特定的代码。

    youdao

  • It's a completely different task to analyze several hundred large programs in search of a few reusable blocks of code.

    如果分析数百个大型程序来寻找可重用代码块,这将完全是另一回事。

    youdao

  • Also the object-oriented architecture makes the code structured, reusable, and fast.

    而且,面向对象的体系结构使代码结构化、可重用并且运行快速。

    youdao

  • It has a well-designed extensibility mechanism, and its declarative processing model allows for maintainable and reusable code.

    这种语言具有一种经过良好设计的可扩展机制,并且其声明式处理模型支持可维护和可重用代码。

    youdao

  • Functional programmers also want reusable code, but they use different building blocks.

    函数式程序员也需要可重用的代码,但是他们会使用不同的构建块。

    youdao

  • When you look at the code in Listing 1, you don't see reusable assets; you just see a pile of code.

    在清单1中,看不到可重用的资产;只看到一大堆代码。

    youdao

  • Reusable services and libraries code.

    可重用的服务和程序库代码。

    youdao

  • In the article "Leveraging reusable code, Part 2," I showed an API definition for a train car, as shown in Listing 3.

    在“利用可重用代码,第2部分”一文中,我展示了火车车厢的一个api定义,如清单3所示。

    youdao

  • This article explained how to write reusable code in Python.

    本文介绍了如何在Python中编写可重用代码。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定