可能能工作的最简单的代码
可能能工作的最简单的代码,这使得后来重构代码更为简单。
The simplest code that could possibly work, which makes it easier to refactor later
XP建议您应该编写可能运行的最简单的代码,但同时也建议您应该不断学习。
XP says you should write the simplest code that could possibly work, but it also says you'll learn along the way.
对我来说,比较明显的就是首先编写测试经常会推动我尽可能去创建最简单的代码。
The phenomenal thing to me is that writing a test first quite often drives me to create the simplest code possible.
虽然XP 建议您应该编写可能运行的最简单的代码,但它还建议您应该不断学习。
While XP says you should write the simplest code that could possibly work, it also says you'll learn along the way.
一个高速缓存系统,当然不必过于复杂,但我一直相信,你经常能写出最好的代码,你可以写的最简单的代码。
A caching system certainly doesn't have to be overly complex, but I've always been of the opinion that very often the best code you can write is the simplest code you can write.
我们使用一个实验室计算机系统的签出和保留应用模型的示例,首先编写从数据库访问应用程序数据所需的最简单的代码。
Using a sample checkout and reservation application model for lab computer systems, we start with the most simplistic code required to access application data from the database.
最简单的答案是,我已经用这些语言实际地写了一些代码。
The simplest answer is that I've actually written some code in each of these languages.
简单性:XP建议:在对于过程和编写代码起作用的方面,总是做最简单的事情。
Simplicity: XP proposes that you always do the simplest thing that could possibly work with regard to process and writing code.
XP建议您总是尽可能围绕过程和编写代码做最简单的事情。
XP proposes that you always do the simplest thing that could possibly work with regard to process and writing code.
如果使用CPLD方法配置FPGA,则可在一个NOR闪存芯片中存储fpga比特流和所需的代码;这可能是最简单的系统设计。
If you use the CPLD method of configuring the FPGA, you can store both the FPGA bitstream and the required code in a single NOR flash chip; it's probably the simplest system design.
记住:XP就是做最简单的事,这可以应用于设计、代码、流程和工具。
Remember that XP is all about doing the simplest thing that could possibly work. That applies to design, code, process, and tools.
最简单的方法是打开记事本,新建一个文件,将下列代码(清单2)复制到新记事本文件中,然后另存为PresentBlox.jsp。
The simplest method is to open Notepad, create a new file, copy the following code (Listing 2) into the new Notepad file, and save as PresentBlox.jsp.
强大的jQuery代码是为最复杂的应用程序设计的,然后让应用程序处理输入的简单信息。
Great jQuery code is designed for the most complex application possible, and then easily handles the simple stuff you throw at it.
可以编写的最简单的可用代码生成器也许就是构建一个静态查找表。
Probably the simplest useful code generator you could write would be one to build static lookup tables.
此特性允许您选择最简单的方式来处理 SOAP文档的XML有效载荷,对生成的代码进行自定义,以使用所选择的方法。
This feature lets you choose the easiest way of working with the XML payload of your SOAP documents, customizing generated code to use the approach you choose.
在这种情况下,我需要真实值,要做到这些的最简单的方法是加入代码示例4中的代码。
In this case, I need a true value; the simplest way I can make this happen is by adding the code in code Sample 4.
这两个点是同一个点么?,我已经写了一小块代码,可以提供这个功能,但是你知道的我可以做的,最简单的事情就是说好,嗯?,等等,我为什么不直接去看看,这两个东西相等不相等呢?
Thing I've got a little procedure that could do that, but you know the simplest thing I could do is to say well, gee, wait a minute, why don't I just check to see if these are the same thing?
XP中简单性的价值建议我团队中的每个人应该在有效的前提下,对代码和过程采用最简单的方法。
The XP value of Simplicity suggests everybody on my team ought to do the simplest thing that could possibly work, both for code and for process.
如果只使用包含文件还不能满足要求,您可能会想添加其他一些方法,或者对代码生成过程进行定制;最简单的方法是创建一个新的JET骨架。
If an include file is not sufficient and you want to add additional methods or customize the generation, the simplest way is to create a new JET skeleton.
将文件位置作为命令行参数传入是配置代码最简单的方法。
Passing the file location in as a command-line parameter is the easiest way to configure your code.
最简单的结构应该在相同的插件中部署概要文件和代码。
The simplest structure would be to deploy both the profile(s) and the code in the same plug-in.
了解为什么要使用YAML 的最简单方法是看一下不同格式编写的代码。
The easiest way to see why you would want to use YAML is to look at some code in different formats.
幸运的是,您可以通过添加以下代码解决该问题,在您提出疑问之前,我可以告诉您,这段代码是出于最简单情况的考虑。
Fortunately, you can fix that by adding the following code, which - before you ask - I realize is on the simplistic side.
这是目前为止最简单的方法,因为您改变的仅是代码的结构(通常通过在您选择的IDE中重构支持)。
This is by far the simplest technique because you're just changing your code's structure (frequently through refactoring support in your IDE of choice).
我们要做的第一件事就是为最简单的转帐行为写一个测试,比如清单4中的代码。
The first thing to do is write a test for the simplest possible transfer behavior, such as the code in Listing 4.
从Zope调用Python 的最简单的方式是把您的 Python 代码做成外部方法。
The simplest way to call Python from Zope is to make your Python code an External Method.
对我们创建的软件进行的最简单测试是按以下顺序运行设计的所有代码,即。
A simplest test of the software we have created is to run all of the designed code in sequence, as follows.
创建一个数据源最简单的方法是使用SproutCore代码生成工具。
The easiest way to create a data source is to use SproutCore's code generation tool.
创建一个数据源最简单的方法是使用SproutCore代码生成工具。
The easiest way to create a data source is to use SproutCore's code generation tool.
应用推荐