这些小的代码段也更容易维护。
Those small sections of code also become easier to maintain.
上面代码段的最后一行代码将保存会话。
不良习惯:类似的代码段。
代码段(2)到(4)与清单2中的相同。
Code snippets (2) through (4) are identical to those in Listing 2.
比如,看看清单4中的代码段。
它放在清单7的代码段中的catch语句之前。
It is placed in the code segment of Listing 7 just before the catch statement.
我们接下来要看的代码段是卸载例程。
The next piece of code we will look at is the unload routine.
对于本示例,以下是映射文件的代码段。
对于本示例,以下是映射文件的代码段。
您应该使用哪个代码段?
可用在项目中的代码段。
为要添加到代码中的代码段键入快捷方式。
Type the shortcut for the code snippet that you want to add to your code.
这对所有的代码段。
如何:管理代码段。
代码段是可修改的。
随机代码段,组合在一起,形成意想不到的含义。
Random segments of code, that have grouped together to form unexpected protocols.
随机的代码段?
注意:突出显示的代码段是创建、测试和操作会话部分。
Note the highlighted segments that create, test, and manipulate the session.
为安全起见,请从您信任的站点下载代码段,并使用最新的防病毒软件。
To be safe, download from sites you trust, and use up-to-date virus software.
请注意,每个代码段都能追踪到very_local_variable的一个单独实例。
Note that each of the code blocks has kept track of a separate instance of very_local_variable.
我想写一小段代码来做平面几何。
I want to do little piece of code that's going to do planar geometry.
我坐在那儿没事儿干,我编辑了一段代码。
您采用了一段普通的代码,并通过网络公开了它的方法。
You took an ordinary piece of code and exposed its methods across a network.
如果你觉得一段代码难于理解,那么就写一个单元测试。
If you think a piece of code is confusing, write unit tests for it.
从清单3中,不难看出在这一小段代码中发生了很多事情。
Taking a look at Listing 3, a lot happens in a small amount of code.
请再次想象一下我正在编写一段代码。
元素可能是一段代码或一个文件。
一段代码的可维护性是个主观的问题。
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.
清单3是转换方法的第一段代码。
Listing 3 has the first piece of code for the transform method.
应用推荐