Writing concurrent code is hard to begin with; the language should not make it any harder.
开始编写并发代码是一件困难的事情,语言不应当增加它的难度。
At each step, we've found techniques better than the previous to let us decouple code from hard dependencies.
在每一步上,我们都会发现比以前更好的技术可以让我们把代码从硬依赖中解耦出来。
Now that you've seen all the hard ways to code EJBs, the next section will show you how to turbo-charge your productivity and optimize your application.
通过上述内容您看到了对EJB进行编码的困难之处,下一部分将显示如何提高工作效率和优化应用程序。
I believe that if you can avoid having to give up secondary design goals to meet your primary goals, you can avoid writing code that becomes hard to use or hard to change.
我相信,如果在实现主要目标的同时能够不放弃次要目标,那么就可以避免编写难以使用或修改的代码。
At best this caused hard to maintain code and at worst brittle code that fails when new types in the enterprise extend existing types.
即使最好的情况下这也会带来代码维护的困难,而最坏的情况当企业扩展现有类型而引入新类型时,脆弱的代码就会失效。
You are faced with the same code you tried so hard not to confront.
此时你面对的代码即使是相同的,但实际却已养成了大患。
The idea here is to avoid duplicating and hard-wiring code.
这里的想法就是要避免复制代码以及硬编码。
The reason that "continuous integration" is a central mantra for many lean and agile software engineering practices is because integrating large swatches of code is really hard to do.
“持续性集成”的理由,对于许多简洁且敏捷的软件工程来说是一个咒语,因为将大量的代码集成到一起,是一项十分具有挑战性的工作。
For example, if you have five different COBOL data structures, you write five format-specific parsers, with the format information hard-wired into the parser program code.
例如,如果您有五种不同的COBOL数据结构,您将编写五个特定于格式的解析器,并将格式信息硬编码到解析器程序代码中。
No hard rule dictates how long a line of code should be.
没有硬性规定一个代码行应该多长。
The code is cumbersome and hard to maintain.
该代码是复杂的且难于维护。
Finding idiomatic patterns in code is hard enough, but if your language adds extra cruft, it becomes even harder.
发现代码中的惯用模式已经够难了,但是如果语言中再加上一些额外的晦涩的东西,那就会难上加难。
That’s fine for small sites, but it can quickly get out of control, resulting in reams of messy code that is hard to understand and to maintain.
对小网站来说这ok,但是很快你就会失去控制,乱七八糟的程式码将很难理解与维护。
By producing hard Numbers for code coverage, Cobertura transforms unit testing from an art to a science.
通过生成代码覆盖率的具体数值,Cobertura将单元测试从一种艺术转变为一门科学。
Incorporating new bindings into client code is hard.
将新的绑定融入到客户机代码是很困难的。
While metaprogramming is powerful, using it well takes experience and the resulting code tends to be hard to understand, maintain, and debug.
元编程十分强大,但是使用它需要经验,而且会导致代码变得难以理解,维护和调试。
This view of your code provides a unique perspective hard to achieve by looking at code.
这个代码视图可以提供独特的视角,仅仅查看代码很难了解到这些信息。
Having client code tightly bound to a client library for a particular protocol implementation results in hard-to-maintain code.
将客户机代码紧密地绑定到特殊的协议实现的客户机库造成了难以维护的代码。
But with innovative tools like fMRI and transcranial magnetic stimulation, and projects that are re-engineering a model of a human brain, scientists are working hard on cracking the neural code.
但伴随着功能磁共振成像和穿颅磁刺激术这样的新技术手段出现,以及人类颅脑建模计划的实施,科学家们已经在努力破解人类神经的密码。
Since WSDL is the interface you are using between service providers and service consumers it is hard to get it "right" before any code it written.
由于WSDL是服务提供方和服务使用方之间的接口,所以很难在写任何代码之前一次就把它完全正确的定义下来并一直使用。
As the GDM code says, "it's hard to be event controlled while maintaining state," so we add our own state-monitoring variables and data structures to process the keystroke-dynamics functions.
如GDM代码所示,“维护状态时很难控制事件”,因此添加我们自己的状态监视变量和数据结构来处理击键力学函数。
This is of course a contrived example relating to number classification, so it's hard to generalize to different types of code.
当然这是一个关于数字分类的设想示例,所以很难在各种类型的代码中泛化。
This shows how pattern density makes code hard to change.
这表明模式密集使得代码很难修改。
Overly complex code is hard to test and maintain, which means it usually has a higher incidence of defects.
过于复杂的代码难以测试和维护,这通常还意味着更高的出错率。
It is often hard to even get the code of components developed by other internal teams within the same organization.
它通常很难平等地获取由其它相同组织中的外部小组开发的控件代码。
Unfortunately, in most modeling tools available today, code generation patterns are typically hard-wired into the tool, providing very limited support for customizing the target code to be generated.
不幸的是,在现今可用的大多数建模工具中,代码生成模式一般是硬连接到工具中的,并且提供对要生成的目标代码的定制的非常有限的支持。
Testing gets complicated and usually new developers have a hard time trying to understand what the code does.
测试将变得复杂,新开发人员通常要花很长时间才能明白这个代码是做什么的。
Once this gets compiled into executable code, it's hard to make changes to it.
一旦将此代码编译为可执行代码,要对其做出更改将非常困难。
As you develop your code you should work hard to avoid provider-specific dependencies.
当您开发您的代码时,应该尽量避免程序提供者所特有的依赖。