在编写解决方案时,很容易做出无效的假设。
It's easy to make invalid assumptions when coding a solution.
首先,我将打消想要执行tdd的念头并且只是编写解决方案,然后为它编写测试。
First, I'll turn off the part of my brain that wants to do TDD and just write the solution, then write the tests for it.
传统的、面向瀑布的方法会导致以下循环:记录所有的需求、分析这些需求、设计解决方案、编写解决方案代码、最后测试它。
Using a traditional waterfall-oriented process leads to a cycle of write all the requirements, analyze the requirements, design a solution, code the solution, and then finally test it.
这个问题的一种解决方案是,始终在假定应先添加1和该数字的情况下编写期望的代码。
One solution to this problem would be always to write my expectations with the assumption that 1 and the number should always go first.
当然,您不希望编写一个特定于某个容器实现的解决方案。
Of course, you don't want to write solutions that are specific to a single container implementation.
它为解决方案构建者和用户提供了一个平台,用于编写有关数据模式的检测规则。
It provides a platform for solution builders and users to write detection rules on patterns of data.
通过使用开源工具、框架甚至是解决方案,公司可以迅速地组装应用程序,因为他们自身不需要编写大量代码。
By using open source tools, frameworks, and even solutions, companies can assemble software applications quickly because they themselves don't need to write as much code.
通过利用开源工具、框架甚至是解决方案,企业可以快速地组装应用程序,因为企业自身不需要编写大量代码。
By leveraging open source tools, frameworks, and even solutions, companies can assemble software applications quickly because they themselves don't have to write as much code.
另外一种流行的解决方案是编写围绕您想修改其行为的类的包装程序。
Another popular solution is to write wrappers around classes whose behavior you want to modify.
第三个解决方案,也是我在本文中介绍的,是编写一个类,在运行时动态地把自己塑造成指定表的字段。
The third solution, which I cover in this article, is to write a single class that dynamically molds itself at runtime to the fields of a given table.
但是它们对开发人员而言只不过是序幕而已:编写代码和构建解决方案。
But all of that is only a prelude to what truly matters as a developer: writing code and building solutions.
开源解决方案还可以帮助您迅速组装软件应用程序,因为您不再需要编写大量代码。
Open source solutions also enable you to assemble software applications quickly, because you don't need to write as much code anymore.
有着对范围广泛的各种平台的支持,结合了移动浏览器威力十足的强大功能,开发者正转向HTML5这一被称作“一次编写,多处运行”的解决方案。
With the wide range of platforms to support, combined with the sheer power of mobile browsers, developers are turning to HTML5 as a "write one, run many" solution.
首先尝试找出一种基于配置、而不需要编写自定义代码的解决方案。
Try first to find a solution based on configuration, without writing custom code.
为了让此解决方案工作,您要编写自己的自定义名称处理器以检查接收的信息,并指定WBIICS生成哪个ASBO。
For this solution to work, you'll need to write your own custom name handler to inspect the incoming message and specify to the WBI ICS which ASBO to generate.
在这个参考架构中,该角色由WebSphereBusinessEvents担任,它提供一个平台,允许解决方案构建者和使用者编写数据模式的检测规则。
In this reference architecture, that role is filled by WebSphere Business Events, which provides a platform that enables solution builders and users to write detection rules on patterns of data.
但如果您不需要可移植的解决方案,那么作为XalanTraceListener这种衡量手段可能更容易编写。
But if you don't need a portable solution, this sort of measurement might be easier to write as a Xalan TraceListener.
象BMP实体bean一样,该解决方案要求开发人员编写持久性代码。
Like BMP entity beans, this solution requires the developer to write the persistence code.
有些解决方案非常昂贵,所以你可以为SpringIntegration试着改造第三方库、编写自己的适配器。
Some solutions can be very expensive, so you might try adapting a third party library and writing your own adapter for Spring Integration.
所有这些因素促成了Node的理想目标,即编写一个高度可伸缩的解决方案变得比较容易。
All of these factors lead to Node's desired goal - it's relatively easy to write a massively-scalable solution.
即使在会话bean中编写代码,与第二种解决方案相比性能是缓慢的。
Even if the code is written inside a session bean, performance will be slow compared to the second solution.
由于它们各自都没有提供完整的解决方案,所以编写了一个把它们组合起来的算法。
Since neither of these on its own provides a complete solution, an algorithm was written to combine the two. To quote from the GNU Aspell manual.
简单编写程序来创建makefile就是一种解决方案。
The decision to simply write a program to create makefiles is one solution.
然后,将展示Parse:RecDescent解决方案,事实证明它是灵活、直观和易于编写的!
Then we will look at a demonstration of a Parse: : RecDescent solution, which actually proves to be flexible, intuitive, and easy to write!
它是相当轻量级的解决方案,可以轻易地与我们编写的其余Spring应用程序相结合。
What we like so far is the fact that it's a very lightweight solution which is very easy to combine with the rest of the spring application we were writing.
对于上述问题,一个好得多的解决方案可能是通过XML:ExcelCPAN模块实现,但是必须编写将XML转换回excel的特殊转换器。
A much better solution to the problem above could be achieved with the XML: : Excel CPAN module, but a special converter from XML back to Excel would have to be written.
既然你非要这么做,那你就必须尽量避免为已有的解决方案编写新的代码。
Now, if you have to, you have to - but try to avoid building new code for which solutions already exist.
解决方案架构师确定哪些业务需求可以通过对现有IT资产进行重用、修改或组合得到满足,哪些需要编写或购买新的 IT 资产。
Solution architects determine which business requirements can be satisfied by reusing, modifying, or combining existing IT assets, and which require new IT assets to be written or purchased.
因为它们是模块化的,片断也为开发者编写可同时运行于大屏幕和小屏幕设备的应用程序提供了有效的解决方案。
Because they are modular, Fragments also offer an efficient way for developers to write applications that can run properly on both larger screen as well as smaller screen devices.
因为它们是模块化的,片断也为开发者编写可同时运行于大屏幕和小屏幕设备的应用程序提供了有效的解决方案。
Because they are modular, Fragments also offer an efficient way for developers to write applications that can run properly on both larger screen as well as smaller screen devices.
应用推荐