请再次想象一下我正在编写一段代码。
一段代码的可维护性是个主观的问题。
The maintainability of a piece of code is arguably a matter of subjectivity.
元素可能是一段代码或一个文件。
清单3是转换方法的第一段代码。
Listing 3 has the first piece of code for the transform method.
清单4给出了转换方法的下一段代码。
Listing 4 gives the next piece of code for the transform method.
一段代码可能会有10个、50个或更多的注释。
因此,上一段代码应改写为。
让我们看看来自此方法的一段代码,参见清单8。
Let's look at a piece of code taken from this method, which you can see in Listing 8.
偶尔,多个程序员对会处理同一段代码。
Occasionally, multiple pairs of programmers may be working on the same piece of code.
我坐在那儿没事儿干,我编辑了一段代码。
我们来看看下一段代码。
下面详细说明每一段代码
如果你觉得一段代码难于理解,那么就写一个单元测试。
If you think a piece of code is confusing, write unit tests for it.
矩形选取——你可以以矩形来选取一段代码。
Rectangular Selection - you can select rectangular pieces of code tabs - this plug-in highlights any tabs in your code so that your code can be made tab-less.
单元测试的目的是测试一段代码的运行结果是否正确。
清单4展示了一段代码摘录,实例化上文所定义类的对象。
Listing 4 illustrates an excerpt of some code to instantiate objects of the classes defined earlier.
他修改了一段代码,我们想来询问一点具体情况。
Sally: He made a code change and we need to ask him for more information.
清扫人员输入一段代码通知系统该房间已被清扫完毕。
The cleaning personnel enters a code to signal that the room is clean.
首先,您必须了解操作就是用来实现预定义接口的一段代码。
To begin, you must understand that an action is a piece of code that implements a predefined interface.
下一段代码实际是实现retrieveByType方法。
The next block of code actually implements the retrieveByType method.
下面是从WSDL文件中抽取的用于生成服务端点接口的一段代码。
Here is an extract from the WSDL file that is used to generate the Service Endpoint interface.
通过写一段代码,来解决一个这样的问题,接下来让我们来看个例子。
We want to write a piece of code that helps these guys out, so I'm going to show you an example.
考虑清单6,它展示了一个控制器servlet中普通的一段代码。
Consider Listing 6, which illustrates a normal portion of code from a controller servlet.
在开放源码领域,许多协作都是围绕非常具体的东西建立起来的,譬如一段代码。
In open source, much of the collaboration is structured around a very tangible thing: a piece of code.
有时,最好只运行一段代码,在可疑代码处停止运行,在这个位置检查数据。
Sometimes it's better to just run a section of code and stop execution at that point so you can examine data at that location.
好的通过生成这个循环,我应该能够达到目的,这也是你们的讲义中下一段代码。
Well I ought to be able to do that by simply generalizing the loop. And that's what the next piece of code on your a hand out shows you.
如果没有找到也没关系,因为您总是可以开发自己的解决方案,也可以定制现有的一段代码。
If not, you could always develop your own solution, or you might be able to customize an existing piece of code.
它会在某个地方(通常是在磁盘上)查找一段代码,并运行它,这通常会加载一个操作系统。
It finds a chunk of code somewhere (typically on a disk) and runs it, generally loading an operating system.
带有功能方面和访问协议WSDL描述的任何一段代码均可以被认为是Web服务。
Any piece of code with a WSDL description of its functional aspects and access protocols can be considered to be a Web service.
带有功能方面和访问协议WSDL描述的任何一段代码均可以被认为是Web服务。
Any piece of code with a WSDL description of its functional aspects and access protocols can be considered to be a Web service.
应用推荐