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.
简单代码和智能数据的开源社区模型通常被认为是设计和创建一个程序的一个非常有效的方法。
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.
本来是个很简单的问题,但却被搞成这么复杂:导入了线程相关的类,同时使用这段代码的用户也需要注意线程问题。
A very simple implementation of notification consumer (omitting repeated code) is presented in Listing 2.
清单2给出了通知使用者的一个非常简单的实现(删除了重复代码)。
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将使用数据访问代码。
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.
正因如此,我们在一个商业友好的许可下开发,并且我们欢迎任何类型的贡献,代码以及简单的反馈、文档、测试或者仅仅是你的热情。
It's a very simple idea, but it sure does make your code a whole lot clearer.
这是个非常简单的想法,但确实使你的全部代码变的清晰了。
Although these patterns are relatively simple, they help us to identify most problems in source code in a very efficient and logical manner.
尽管这些模式相对来说十分简单,但是它们可以帮助我们以一种十分有效且逻辑性很强的方式,来识别源代码中的大多数问题。
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.
现在,您需要编写这个类的代码,它是一个返回单个字符串的非常简单的方法。
The service interface for our example is very simple, consisting of one method that can be called by the sample portlet to retrieve the location information, based on a zip code.
我们实例的服务接口非常简单,仅由一个方法构成,以邮政编码为基础,样本portlet可以调用该方法来检索位置信息。
As you can see from the above code sample, it is very simple to create a Web service using PHP and DB2 native XML support.
正如可以从以上代码示例中看到的,使用php和db2原生x ML支持创建Web服务非常简单。
To take advantage of a Rico feature or widget is very simple: you only write a few lines of code to integrate that feature or widget on a given page.
Rico特性或小部件使用起来很简单:只需编写几行代码将那个特性或小部件集成到一个给定页面上。
Generating code from a Schema description is very simple with JAXB.
用JAXB根据Schema描述生成代码非常简单。
The suggestions that you get in this example are not very useful, because we intentionally kept the bean code simple here to demonstrate how a type-ahead component works.
本例中所获得的推荐并不十分有用,因为我们有意将bean代码做的简洁以证明预输入组件如何工作。
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通常是非常容易的(客户机代码编写起来很简单)。
From here on, I use code examples to demonstrate how these and other JCSP constructs work. In Listing 2, you can see a very simple process that outputs all even integers between 1 and 100.
从现在开始,我将使用代码示例来演示这些和其他JCSP构造如何工作。
Your coin and battery are a very simple radio transmitter. This radio will not transmit very far. However, if you know a little of Morse code, you could communicate with this device.
你的硬币和电池就是非常简单的无线电发射机,这台发射机虽不能传输很远,但如果你对莫尔斯电码略知一二,你就可以用这个装置进行联络。
This is a very simple chess source code, just for entertainment and research purposes.
说明:这是一个很简单的象棋源码,仅仅供娱乐研究之用。
It's a question I often receive, so I decided to publish a very simple post which explains how to design a perfect pagination style using some lines of HTML and CSS code.
经常有人问我这个问题,所以我决定发一个帖子来说明如何用少量的HTML和CSS代码设计出完美的分页样式。
The customer experience with this is very simple. We treat it as a third tender - it scans the code and the transaction is done.
这种客户体验非常简单,我们把它当做第三次招标——扫描代码,然后交易完成。
Has a nice simple API for talking between script and c, with very little generation of glue code required.
有一个很好的简单API谈之间的脚本和C,很少一代的胶水代码需要。
The basic idea behind open source is very simple: When programmers can read, redistribute, and modify the source code for a piece of software, the software evolves.
开源背后基本理念非常简单:如果程序员可以读,可以再发布,并且可以修改一个软件的源代码,那么软件就能得到进化。
The basic idea behind open source is very simple: When programmers can read, redistribute, and modify the source code for a piece of software, the software evolves.
开源背后基本理念非常简单:如果程序员可以读,可以再发布,并且可以修改一个软件的源代码,那么软件就能得到进化。
应用推荐