If they write unit tests, they can write them before implementing the code.
如果他们书写单元测试的话,他们就可以在执行代码之前就去书写了。
Does it matter whether the individual writes tests before implementing the code or after the implementation code is written?
个人编写测试是在执行代码之前还是在执行代码被编写之后,这个问题真的很重要吗?
In implementing the code for this tutorial, you see more extensive use of the model-driven approach than was the case in the earlier tutorials.
与前面的教程相比,在实现本教程的代码时,您将看到我们更多地使用了模型驱动的方法。
All of this behavior is achieved automatically, without any additional code for the developer to write, simply by implementing the code in an EJB.
所有这些行为都是自动完成的,不需要开发人员编写任何额外的代码,而仅仅通过实现EJB中的代码就可以完成。
In your test code, create a mock object implementing the same interface as the collaborator.
在测试代码中,创建模仿对象且实现与合作者相同的接口。
The company has more than 400 million users, and implementing the "Like" functionality requires just a few lines of code.
该公司拥有超过四亿的用户,而且执行“赞”的功能只需要几行编码。
Implementing a RecordListener in your code ensures that you will be notified of changes, additions, or deletions to the record store.
在代码中实现RecordListener可以保证当记录存储修改、添加或删除的时候您可以得到通知。
But if you consider the cultural barriers faced by companies implementing code analysis, it's even more compelling.
但是如果你考虑公司实现代码分析面对的文化阻碍,那它就更具吸引力了。
Typically, they write code directly from the use-case flow of events, implementing object responsibilities and collaborations on the fly.
一般,他们直接根据事件的用例流来编写代码,匆忙地实现对象职责和协作。
You can later add the necessary code to actually implement these policies by implementing rules and rule services and connecting the workflow to the rule services.
您可以通过添加必要的代码来实现这些策略,需要实现规则、规则服务及将工作流与规则服务相连接。
This section addresses the subject of implementing source level instrumentation and provides some best practices and example source code.
本节将讨论如何实现源代码级插装,并将提供一些最佳实践和示例代码。
The generated code includes the stubs on the client side (implementing the required interface), and the skeleton on the server side.
生成的代码包括客户端的存根(实现必要的接口)和服务器端的基干。
Developers try to determine if changing existing code would make implementing the new feature easier.
开发人员尝试确定更改现有代码是否可以让新特性的开发更容易。
With DI, you can allow the container to inject the appropriate customer class either by configuring the container or implementing the injection in the code.
使用DI,可以通过配置容器或在代码中实现注入,让容器注入适合的客户类。
Implementing the caching system at the pivot point isolates it from the service code.
在轴心点实现高速缓存系统将其与服务代码分离开来。
This law gave publishers power to write their own copyright rules, by implementing them in the code of the authorized player software.
法案赋予出版商权力书写自己的版权规则,通过特许的播放软件代码得以实现。
Like the provider teams, the coordinator team is already well on its way to implementing the coordinators even though they haven't yet implemented any code.
和提供程序团队一样,尽管尚未实现任何代码,但协调程序开发团队已经早就在进行协调程序的工作了。
As this article has shown, implementing the DAO pattern entails more than just writing low-level data access code.
正如本文所展示的,实现DAO模式需要做比编写低级别的数据访问代码更多的工作。
The II ce connector SDK will take care of the EJB for you, allowing you to concentrate on the POJOs implementing the mapping code that is specific to your repository.
IICE连接器s DK将会替您考虑EJB的问题,从而使您把精力集中在POJO实现映射代码的问题上,映射代码是存储库所特有的。
Those frameworks often involved declaring interfaces, implementing interfaces defined by the framework, or creating an XML file to generate code from (or all of the above).
这些框架的功能通常涉及声明接口、实现框架所定义的接口或者创建用于生成代码的XML文件(或以上所有功能)。
There are a number of enhancements that would be useful if implementing the sample code.
如果实现示例代码,那么有很多增强是有用的。
A smaller subset of developers will be implementing the model-to-code transformations themselves.
会有更少的开发人员实现模型到代码的转换。
This is definitely a case of "look before you leap," because implementing hook code-based e-mail rules represents a significant leap in the complexity of your ClearQuest implementation.
这是典型的“三思而后行”,因为执行基于 hook 的电子邮件规则反映了您的ClearQuest 实施的复杂性中的重要跳跃。
It will build on the technical background of this article, and show more detailed code samples for developing, implementing, and publishing Web services in both environments.
它将建立在本文的技术背景上,并且展示在这两个环境中开发、实现和发布Web服务的更详细的代码样本。
Fortunately, the toolkit wizard provides most of the code that Eclipse requires and lets the transformation developer focus on implementing the transformation logic.
幸运的是,工具包向导提供了Eclipse所需的大部分代码,并让转换开发人员专注于转换逻辑的实现。
So I set out to see what was involved in implementing SyncML, with the intentions of integrating my cell phone and my personal information management software, then releasing the code.
因此我打算研究一下,看看如果要用SyncML将我的蜂窝电话和个人信息管理软件集成起来,都会涉及到哪些东西,然后我会发布这些代码。
If you are implementing Web services "internally" and have control over the client code, you can configure Application Server to generate LTPA tokens and have the client return them in cookies.
如果您正在“内部”实现Web服务并且拥有对客户机代码的控制权,您就可以把ApplicationServer配置为生成ltpa令牌并让客户机在cookie中返回它们。
The powerful as operator in Groovy takes a code block and generates a new class that implements the interface, which you can then call as if it were a concrete class implementing the interface.
Groovy中强大的as操作符接收一个代码块并生成一个新类来实现该接口,您可以像调用实现该接口的具体类一样调用它。
Test-driven development is an Agile development technique in which developers code test cases before implementing the service.
测试驱动的开发是一种Agile开发技术,其中开发人员在实现服务之前先编码测试用例。
Android provides all the code to perform these IPC transactions, so you can focus on defining and implementing the RPC programming interface.
Android提供了执行IPC事务所需的全部代码,因此只要把注意力放在定义和实现RPC编程接口上即可。
应用推荐