REST seems to be winning in actual code, even if not yet in developers' minds.
尽管开发人员还没有意识到,但REST看起来在实际的代码中更有优势。
The actual code for this turned out to be embarrassingly simple. See for yourself in Listing 5.
完成这个任务的实际代码非常简单,如清单5所示。
But when you get the project it will only be 20 lines of actual code and will be very easy to read.
最后当你拿到他干的活儿时,里面可能就20行实际代码,简单易读。
Before you start importing and running the actual code, let me walk you through a little bit of theory.
在您开始导入并运行实际的代码前,让我来为您逐步地讲述一点点理论。
The entire listing contains 117 lines, however only 43 of these are actual code, the rest is documentation.
完整的代码包含 117行,但只有43 行是实际代码,其余内容都是注释。
Since the third step of our process deals with actual code analysis, there is no equivalent discipline in RUP.
因为我们的过程的第三个步骤处理实际的代码分析,所以在RUP中没有等价的规程。
Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.
每当实际代码碰到任何类型的错误,它就抛出一个异常,然后该异常就进入调用栈。
The generic form is closer to the actual code that will be produced in the end product than the instance form is.
与实例形态相比,常规形态更接近于在最终产品中出现的实际代码。
Before you start looking at the actual code, please note that the routers might be unidirectional or bidirectional.
在开始阅读代码之前,请注意路由器可能是单向或者双向的。
When you are ready to begin writing actual code, there are a lot of technologies available to make your life easier.
当你准备好开始写代码时,有许多可用的技术,让你更轻松。
NOTE Because the code to do this is rather lengthy, I'll simply explain how it's done and leave the actual code to you.
提示因为实现这个目标的代码相当长,我将只是简单地解释它的工作方式,实际的代码留给你完成。
Having the metadata inlined with the actual code it references provides locality of reference, so that everything is in one place.
使元数据与它引用的实际代码实现内联,从而提供引用的本地性,使所有事物都汇集在一个地方。
This means that actual code generation can be deferred until the developer is satisfied with the results of the tests that are run.
这意味着实际的代码生成可以推迟到开发人员对测试结果满意时。
I might live to regret that choice, but I prefer to separate tests from the actual code as it's easier to remove the tests from the distribution.
我也许会后悔那种选择,但我喜欢将测试程序与实际代码分开,因为这很容易从分发版中除去该测试程序。
Unlike most of the following patterns, there was no actual code associated with the pattern; it formed the basic conceptual framework for all following implementation.
与下列的大多数模式不同,该模式实际上并没有与之相关的代码;它针对以后的实现形成了一个基本的概念化框架。
These functions are not required as simple components can encompass these steps in their actual code, or you may find other ways of establishing common usage of the APIs.
在简单的组件中,还用不到这些函数,因为简单组件的代码就包含了这些步骤,或者可以找到其他方式实现这些 API 的通用用法。
In contrast, the code in Listing 1 immediately starts measuring execution, which means that its results might have little to do with the actual code and more to do with JVM behavior.
与之相反,清单1中的代码马上开始度量执行时间,这意味着它的结果与实际代码的执行时间关系不大,但与JVM行为密切相关。
The dispatcher can either contain the actual code used to deal with a particular element as an anonymous subroutine or it can contain a reference to a named subroutine defined elsewhere.
分派表可以包含用来处理特定元素的实际代码(匿名子例程),也可以包含对别处定义的命名子例程的引用。
Although the server exposes configurations that affect the behavior, the actual code is not available and so it is sometimes necessary to resort to deduction rather than straightforward inspection.
尽管服务器公开了影响行为的配置,但实际代码不可用,因而有时必须设法进行推论,而不是直观的检查。
In the Python language, everything is an object a program can access, including simple types that hold integers, as well as the actual code you write and its representation in the Python interpreter.
在Python语言中,所有事物都是程序可以访问的对象,其中包括保存整数的简单类型,以及您编写的实际代码和这些代码在Python解释器中的表示。
Even though their actual code and artifacts have not been added to your project, references to the components from your own code will work at run time thanks to Zero's dependency resolution mechanism.
尽管它们实际的代码和工件还没有添加到项目中,但借助于Zero的依赖项解析(dependency resolution)机制,从您自己的代码对这些组件的引用会在运行时工作。
Even though their actual code and artifacts have not been added to your project, references to the components from your own code will work at run time thanks to Zero's dependency resolution mechanism.
尽管它们实际的代码和工件还没有添加到项目中,但借助于Zero的依赖项解析(dependency resolution)机制,从您自己的代码对这些组件的引用会在运行时工作。
应用推荐