I usually work by making small changes to the code and then testing the new code before I move on.
我的工作通常是在向前进展之前,在核心组件做一个小的变化然后测试新的代码。
Doing so provides a design for the class that the test will exercise, allowing you to focus on small chunks of code.
这样就为要测试的类提供了一种设计,这种设计使您每一时刻都只需集中考虑一小块代码。
Pretty cool, considering how much better your code gets as a result of this small change.
相当酷,考虑一下您的代码因为这个小小的更改变得有多好。
Toward the end of writing high-performance code, developers often write small benchmark programs to measure the relative performance of one approach against another.
开发人员在以编写高性能代码为目标的时候,常常会编写小的基准程序来度量一种方法相对于另一种方法的性能。
The code was loaded with tables and small spacer images to achieve the desired layout.
代码是和表及小的间隔图片一起装入的,目的是得到所需布局。
The primary boot loader that resides in the MBR is a 512-byte image containing both program code and a small partition table (see Figure 2).
MBR中的主引导加载程序是一个 512字节大小的映像,其中包含程序代码和一个小分区表(参见图2)。
Writing code as small building blocks makes the code more reusable, so this should be one of your main design criteria.
把代码编写成小的构建块会提高代码的可重用性,因此这是您应该遵守的主要设计原则之一。
Agile teams work very quickly — sometimes in as little as a week — to create small chunks of code.
敏捷团队行动非常迅速,他们创建很小块的代码,工作周期有时甚至只有一周时间。
It's not much of a problem to analyze and evaluate the code spread across a few small programs; any programmer familiar with the code can do this using a comfortable text editor.
分析和评估分布在少量小程序中的代码没有什么问题,任何熟悉代码的人都可以使用简单的文本编辑器进行此工作。
Snippets are little fragments of code that perform small tasks, such as running a regular expression on some input, connecting to the database, and querying the database.
片段是完成小任务(比如在一些输入中运行常规表达式、连接到数据库和查询数据库)的小部分代码。
This article showed code examples for a small, but common, subset of commands.
本文提供了一小部分常用命令子集的代码示例。
As the code base grows, manual testing becomes an impossible task, and every code change made, big or small, could affect the entire application.
随着代码库的增长,手动测试已经变成不可能完成的任务,无论是大是小,所有代码的变化都会对整个应用程序产生影响。
The process of taking a well-designed piece of code and,through a series of small, reversible changes, making it completelyunmaintainable by anyone except yourself.
一段优秀设计的代码,经错一些微小的、可逆的改变,使得它完全不能被除了你自己之外的任何人维护,这样一个处理过程。
If the project has a relatively small code base or the tests chosen are few, the existing code base copy can be used.
如果项目拥有的代码库相对较小或者所选测试很少,则可以使用现有代码库副本。
Now that you've seen several types of code generators and the types of things that they can do, it is now time to write a small code generator.
现在您已经见过了几种代码生成器,了解了这些代码生成器可以实现怎样的功能,接下来我们应该开始编写一个小型的代码生成器了。
You will also need to make a small adjustment to the code shown in Listing 7.
您还将需要对清单7所示的代码进行一些小调整。
Ideally, this is a small amount of code and thus it is easy to identify the unspecified features.
理想的情况是,这的代码数量很少,所以也很容易识别出那些未特定指明的特性。
A typical approach to refactoring is to make small changes to existing code while you're introducing new code or changing a method.
重构的一个典型方法是在引入新代码或更改方法时对现有代码做出小小的变动。
Users can upload code and make small configuration changes that affect only their virtual host.
用户可以上载代码,并做出仅影响其虚拟主机的轻微配置更改。
Normally the total number of added classes and the total size of the added code is fairly small.
通常所添加类的总数和所添加代码的总长度十分小。
With this small amount of code, you've implemented a simple simulation of a rotating projectile.
通过这些代码,您就实现了一个旋转投射的简单模拟。
Demonstrates that a small amount of code verified with automated theorem proving can support an arbitrary large amount of TAL code.
它演示了少量带有自动化定理证明功能,经过验证的代码它能够支持任意数量的TAL代码。
You cannot get started on your adventure without a small bit of code to show you exactly what we're talking about.
在你开始之前,你必须准备一些代码,用来向你演示我们所说的内容。
You know, those small bits of code that you add to your web browser's Favorites menu?
没错,就是那些添加到浏览器收藏菜单的代码。
Part 1 of this article presents the first part of a simple PHP Webzine application. I've covered a few small code examples in detail.
本文(第 1部分)介绍了 Webzine 这个简单PHP应用程序的第一部分,并详细分析了几小段代码示例。
Depending on the compilation time and how much faster the compiled code is than the interpreted code, small changes in the number of iterations can result in big differences in measured "performance."
根据编译时间和编译代码比解释代码快的程度,即使对迭代数量只做很小的变化,也可能造成测量的“性能”有极大差异。
The Web server plug-in is, by necessity, a small, portable piece of code.
Web服务器插件必须是一小块可移植的代码。
This small code snippit takes the contents of the dictionary containing Shakespeare's sonnets, converts it to an XML plist, and serves it to any client that requests the /plists/sonnets URL.
上面这个代码片段将包含莎士比亚十四行诗的字典的内容转变成一个XMLplist,并将其提供给任何请求此 /plists/sonnetsURL 的客户机。
The standard library has useful code, but it is small compared to what is available in more established languages.
Go语言标准库有些有用的代码,但这与更为成熟的语言比起来仍还是很少的。
For example, one small section of the code appears designed to send commands to 984 machines linked together.
例如,代码的一小部分似乎是设计来给984个连接在一起的机器下指令。
应用推荐