You should restrict this strategy to extending very simple code.
应当把这个策略局限在扩展非常简单的代码上。
CAGR calculator, very simple code that they wrote to facilitate the use of equity investment...
复合增长率计算器,很简单的代码,自己写的,方便股票投资朋友使用。
This is very simple code, which just flips the content by applying a transformation to the view's context.
代码很简单,只是通过转换内容将其翻转。
This keeps the server code immensely simple, while still running very quickly.
这使服务器代码非常简单,而运行的速度仍非常快。
This interface keeps the implementation code simple — always an advantage when working with bytecode — but means that the implementation class is very specific.
这个接口使实现代码简单了——在处理字节码时这总是一个优点——但是也意味着实现类是非常特定的。
This very simple application could be easily extended to become a very sophisticated and complex one, though the process to code, test and debug it would be similar.
您可以很容易地将这个非常简单的应用程序扩展为一个非常复杂的应用程序,但它们的编码、测试和调试的过程却是相似的。
Listing 1 shows a very simple program that simply exits with an exit code of 2.
清单1给出一个非常简单的程序,它的作用仅仅是使用退出码2退出。
I've always thought that the open source model of simple code and smart data was a very effective way to design and build a program.
简单代码和智能数据的开源社区模型通常被认为是设计和创建一个程序的一个非常有效的方法。
The code remains simple, light, and very easy on the eyes, whether you're writing, reading, or maintaining it.
无论对于编写、阅读还是维护来说,代码都保持简单、轻巧和非常赏心悦目。
It's a very simple idea, but it sure does make your code a whole lot clearer.
这是个非常简单的想法,但确实使你的全部代码变的清晰了。
Most importantly, the actual code for the program is very simple, so the program's logic doesn't get in the way of understanding the threading.
其中程序代码非常简单是最重要的原因,这样对程序逻辑的理解就不会影响对线程的理解。
The code is very simple, but it does an impressive amount of work, as you shall see.
代码非常简单,但是您将看到它做了非常多的工作。
A very simple implementation of a notification subscriber (omitting repeated code) is presented in Listing 3.
清单3给出了通知订阅器的一个非常简单的实现(删除了重复代码)。
You've complicated a very simple construct with threading-related imports and (in addition) forced awareness of threading on the user of this code.
本来是个很简单的问题,但却被搞成这么复杂:导入了线程相关的类,同时使用这段代码的用户也需要注意线程问题。
Simple, "been there, done that" code had very few reviewers — sometimes only the team lead.
简单的说,代码有很少的评审人员—有时仅仅是团队领导。
A very simple implementation of notification consumer (omitting repeated code) is presented in Listing 2.
清单2给出了通知使用者的一个非常简单的实现(删除了重复代码)。
When creating families of tests, it then becomes a simple matter of copying and modifying XML files; in practice, this proves to be very much simpler and less error prone than writing SDO code.
在创建测试系列时,就变成了简单地复制和修改XML文件;实际上,经证明此方法比编写 SDO 代码更简单,出错率更低。
Now you need to write the code for the class, which is a very simple method returning a single string.
现在,您需要编写这个类的代码,它是一个返回单个字符串的非常简单的方法。
However, as with most things in Python, it is very simple to reuse the modules within your own code.
不过,和Python中的大多数事物一样,在自己的代码中重用这些模块是非常简单的。
But the code in AccessValue1 is very simple, making it an ideal target for run-time class generation.
但是AccessValue1中的代码非常简单,这使它成为运行时类生成的理想目标。
J2MEClientMIDlet.java, which provides a very simple MIDlet wrapper that you can use to test the code.
它提供了可以用来测试这些代码的一个非常简单的MIDlet包装器。
The sample code illustrates a very simple headless application that invokes the EGL Resources API.
样本代码阐明的是一个调用EGLResources API的非常简单的headless应用程序。
For example, Erlang includes a very simple concurrency model, allowing individual blocks of code to be executed multiple times on the same host with relative ease.
例如,Erlang包含一个非常简单的并发模型,允许在同一主机上相对轻松地多次执行代码块。
We will start by using a very simple applet that will make use of our data-access code.
首先使用一个非常简单的Applet,该Applet将使用数据访问代码。
These are usually very easy to use (the client code is very simple to write) if you want to use a vendor's stub.
如果您想要利用某个厂商的存根,使用这些JAX - RPC ServiceFactory通常是非常容易的(客户机代码编写起来很简单)。
Writing a Seam web application is conceptually very simple. You just need to code the following components.
编写一个Seamweb应用概念上很简单。
And as such, we develop under a very business-friendly license and we welcome contributions of any kind: code but also simple feedback, documentation, tests or simply your enthusiasm.
正因如此,我们在一个商业友好的许可下开发,并且我们欢迎任何类型的贡献,代码以及简单的反馈、文档、测试或者仅仅是你的热情。
The client proxy code is very simple to use.
客户机代理代码的使用非常简单。
The form is kept simple so that the code can be understood very easily.
为了代码易于理解,这里使用一个很简单的表单。
Improving the performance of this loop is very simple and doesn't even require an additional line of code (see Listing 9).
提高循环性能的方法很简单,甚至不需多加一行代码(见清单9)。
应用推荐