并给出了驱动程序的编写方法。
最后介绍了该P C卡设备驱动程序的编写方法。
At last, the programming method of PC card device driver is introduced.
最后一部分简单介绍了网络通信程序的编写方法。
The final part introduces the programming method to network communication program.
所以下一步就是为这个方法编写一个测试。
当每个类都有了至少一个测试,再为每一个方法编写一个测试。
Once every class has at least one test, write one test for every method.
你编写一个方法来执行这个操作。
根据喜欢的方法编写代码。
您可以覆盖这些方法以编写定制的逻辑。
You can override each of these methods to write custom logic.
通过编写一个方法来修改显示的文本,可以实现这一要求。
You achieve this by writing a single method to change the displayed text.
我们可以在这编写一个表达式来匹配许多类的方法的集合。
We could write an expression here that matched a set of methods, on many classes.
首先,需要编写一个定义所有业务方法的接口。
First, you need to write an interface that defines all of your business methods.
这种方法很容易编写和实现。
使用这种方法的优势在于您可以编写可移植的、厂商无关的代码。
The advantage of using this method is that you write portable, vendor-independent code.
您必须在编写每个测试时尽量地覆盖尽可能多的方法和分支。
You have to write each test to cover as much as it possibly can.
就的那套方法是使用某种编程语言编写代码。
The old way of doing this is to write code in some programming language.
您是否能够想象只是为了编写一个方法也要查看多个文件的情况?
Can you imagine having to look at several files to just write one method?
编写定制的注释器是解决特定业务问题的有效方法。
Writing custom annotators can be a useful way to solve a specific business problem.
我只有必须编写验证方法,确保价格是有效的。
I only had to write a validation method to ensure the price was valid.
编写回调方法,从XML文档中提取信息。
Write callback methods to fetch the information from an XML document.
异常机制将彻底改变编写代码的方法。
在编写代码时,我两次都弄错了这个简单的方法。
When I wrote this code, I messed this trivial method up twice.
第二种方法是编写自定义处理程序。
因此在编写一个全新的扩展函数时,实例方法并非首选。
Thus they're rarely the first choice when writing a new extension function.
您使用哪种方法都可以编写出出色或糟糕的代码。
You can write great code and terrible code with each one just as easily.
第一种方法是编写可以在不同浏览器之间移植的代码。
不管采用何种方法,都是选择一种构建平台,然后尽快地让项目成为可编写脚本的。
Either way, pick a build platform and make your project scriptable as soon as possible.
Ruby让您也可以编写使用自己的闭包的方法。
Ruby also lets you write methods that use your own closures.
然而,也存在一种不必实际编写MBean就能发送通知的方法。
However, there is a way to send notifications without actually writing an MBean.
通过编写一个简单的类定义,可以将自己的方法添加到QueryPath中。
By writing a simple class definition, you can add your own methods to QueryPath.
上一篇专栏文章中介绍过的ContentHandlerExtractor有助于编写这个方法。
ContentHandlerExtractor, introduced in a previous column, was helpful in writing this method.
应用推荐