您将看到路由器的简短代码(见清单2),介绍了一种可接受两个参数的称为process的操作。
The router, whose code you'll see shortly (see Listing 2), exposes an operation called process that accepts two parameters.
这也意味着对于要进行简单测试的任何简短代码,LINQPad非常有用,例如:棘手的数字格式字符串或者匹配正则表达式。
This means LINQPad is useful for any code snippet needing simple testing, e.g., tricky numeric format strings or Regex matching.
有了这些简短的描述和代码中的注释,您就能够理解函数中发生了什么事情。
With this brief description and the comments in the code, you should be able to follow what is happening in the function.
他们的做法大都是将代码的简短片段复制到HTML页面中。
They do this mainly by copying short snippets of code into their HTML pages.
总而言之,上面对这段代码片段的简短分析就说明了在标准的X应用程序中通常要执行哪些操作。
All in all, the procedure outlined above in a short snippet of code mirrors what is usually performed in a standard X application.
总之,这个程序的总体结构如清单1所示。出于简明的原因,我对每个方法都进行了简短的说明,并借此缩短了需要显示的代码。
To wrap it up, examine the general structure of the program, in Listing 1. For reasons of clarity, I shortened the code shown here with a short description of each method.
给定先前定义的类,演示应用程序代码相对简短并且易于实现,如清单4所示。
Given the previously defined classes, the demo application code is relatively short and straightforward to implement, as shown in Listing 4.
为了了解代码生成器是如何工作的,让我们先来看一个简短的嵌入式SQL程序。
To see how a code generator works, let's look at a short Embedded SQL program.
因为这只是用于演示的虚拟应用程序,我想让代码尽可能简短,所以没像在实际应用程序中那样检查输入参数。
Because this is just a dummy app for demonstration purposes and I wanted to keep the code as short as possible, I didn't check my input arguments as I would have for a realistic app.
这是该语言的最新版本,其中包含有大量新指令和新函数,可以有效地简化众多任务—更加简短更加直观的代码通常更容易维护。
The latest version of the language contains many new instructions and functions that can greatly simplify many tasks-shorter and straightforward code is always easier to maintain.
前面的介绍确实很简短,不过该框架相当易于使用,其他任何问题都可以在代码和附带的文档中找到答案。
This has really been just a quick tour, but the framework is quite simple to use and any further questions should be answered by the code and its accompanying documentation.
这个简短的名字所引起的疑惑很快就会迎刃而解,而简短的命名还会增加代码的可读性。
Any confusion caused by the shorter name would be cleared up very quickly, and the shorter name would lead to much more readable code.
通过去掉未被调用的方法和艰涩的代码、使用简短的变量名和方法名等方式,GWT编译器在减少代码量方面表现得非常出色,但是最后得到的代码文本仍然是未经压缩的。
The GWT compiler does a good job at reducing code size but cutting unused methods and obfuscating code to use short variable and function names, but the result is still uncompressed text.
Rails 2.2发行说明-一个非常靠谱的基本覆盖Rails2.2新功能的发行说明(简短的代码例子和链接)以及一份推荐使用特性的名单。
Rails 2.2 Release Notes - A very solid set of release notes for 2.2 with basic coverage of the new features (with short code examples and links) as well as a list of deprecated features.
称为ObfuscationList.txt的新FileResource设计元素将包含清楚易读的代码名称到简短含义模糊的名称的映射。
A new File Resource design element called ObfuscationList.txt will contain the mapping of legible code names to the short cryptic names.
这些方法中的代码非常简短、易于理解,但有几点要说明一下。
The code in the methods is fairly short and easy to understand, but we will point out a few things.
并用一个简短的代码实例回顾了如何消费Web服务,即JAX - rpc子集api。
I also reviewed how to consume Web services, the JAX-RPC subset API, with a short code example included.
如果想以快速浏览一下代码为开始,简短的HelloWorld辅导将通过标准的“世界,你好!”应用程序,引导您了解Android平台程序的编制情况。
If you want to start by getting a quick look at some code, the Hello World tutorial walks you through a standard "Hello, World" application to introduce some basics of an Android application.
Psyco可以保持代码非常简短;它是(x86)机器代码中的一个JITPython代码编译器。
Psyco — to keep it very short — is a just-in-time (JIT) compiler of Python code into (x86) machine code.
值得注意的是,完全实现本地化解析的代码是多么简短。
It's worthwhile to note how little code it takes to fully localize parsing. The steps are.
清单9是Rubyon Rails中的一个简短例子,清单中的闭包用于为一个HTTP请求编写响应代码。
Listing 9, a quick example from Ruby on Rails, shows a closure that is used to code the response of an HTTP request.
本文的目的与上一篇相同,即要演示清晰且可重用的代码,而这些代码未必是某个程序的最简短或最有效的版本。
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.
优秀的程序员习惯将代码保持得简短、简单和具有良好的文档记录,以便使其可维护。
Good programmers make it a habit to keep code short, simple, and well-documented so that it's maintainable.
在这些情况下,TDD的简短的 “代码、测试、代码、测试”循环将导致重构,而这将继续驱使非复杂代码的开发。
The short "code, test, code, test" cycle of TDD invites refactoring in these cases, which continually drives the development of uncomplex code.
为了简短,本文不讨论这个文档的细节;请通过下载示例应用程序源代码了解细节。
For the sake of brevity, I've left the details of the document out of this article; download the sample application source code for details.
为了使代码更为简短与灵活,开发人员开始转为使用运行时代码生成的方式。
In order to make this less tedious and more flexible, developers are starting to turn to runtime code generation.
清单1举例说明了一个简短的SIAPI搜索代码示例。
Listing 1 illustrates an abbreviated coding example of a SIAPI search.
该代码含义模糊(即简短),从而可提高应用程序的运行时性能。
It is obfuscated, or condensed, to improve the runtime performance of the application.
对于服务程序来说,main的代码令人惊讶地简短,因为它只创建分派表并启动控制分派机。
In case of services, the code for main will be surprisingly short, since it just creates the dispatch table and starts the control dispatcher.
对于服务程序来说,main的代码令人惊讶地简短,因为它只创建分派表并启动控制分派机。
In case of services, the code for main will be surprisingly short, since it just creates the dispatch table and starts the control dispatcher.
应用推荐