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.
在每一步上,我们都会发现比以前更好的技术可以让我们把代码从硬依赖中解耦出来。
This risk reduction needs to be balanced with the value of the running code and the value created by forcing hard decisions to be taken early on.
这种风险的减少需要用运行代码的价值,和由迫使及早进行困难的决定所创造的价值来平衡。
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.
我相信,如果在实现主要目标的同时能够不放弃次要目标,那么就可以避免编写难以使用或修改的代码。
As it turned out, this wasn't too hard to do, as I had worked on compilers and code generators in the past.
果不其然,这并不是很困难,因为我过去从事过编译器和代码生成器的工作。
At best this caused hard to maintain code and at worst brittle code that fails when new types in the enterprise extend existing types.
即使最好的情况下这也会带来代码维护的困难,而最坏的情况当企业扩展现有类型而引入新类型时,脆弱的代码就会失效。
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进行编码的困难之处,下一部分将显示如何提高工作效率和优化应用程序。
However hard you try, it's difficult to make this kind of bootstrapping code neat, tidy, and easy to read.
无论多么努力地尝试,使此类引导代码优雅、干净、易读也是非常困难的。
You now have a stable version and your program code has withstood the close gaze of many hard working people.
你现在有了一个稳定的版本,而你的程序代码已经经受住许多勤奋工作的人的密切注视。
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.
“持续性集成”的理由,对于许多简洁且敏捷的软件工程来说是一个咒语,因为将大量的代码集成到一起,是一项十分具有挑战性的工作。
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将单元测试从一种艺术转变为一门科学。
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.
这个代码视图可以提供独特的视角,仅仅查看代码很难了解到这些信息。
A big chunk of our code was doing things that are very hard to do in other languages. The resulting software did things our competitors' software couldn't do.
我们代码里的一大块是在做其它语言很难做到的事情,发布的软件做了很多竞争对手的软件没法做到的事情。
With all that repeated code, you're bound to have inconsistencies, and it will be hard to maintain.
对于所有重复的代码,一定会出现不一致性,因此将很难进行维护。
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是服务提供方和服务使用方之间的接口,所以很难在写任何代码之前一次就把它完全正确的定义下来并一直使用。
This is of course a contrived example relating to number classification, so it's hard to generalize to different types of 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.
但伴随着功能磁共振成像和穿颅磁刺激术这样的新技术手段出现,以及人类颅脑建模计划的实施,科学家们已经在努力破解人类神经的密码。
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.
它通常很难平等地获取由其它相同组织中的外部小组开发的控件代码。
It can become hard to find the actual program logic in all that error recovery code.
在大量错误复原代码中,很难发现实际的程序逻辑。
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代码所示,“维护状态时很难控制事件”,因此添加我们自己的状态监视变量和数据结构来处理击键力学函数。
It is extremely hard to predict and comprehend these possibilities and scenarios just by inspecting source code.
因此,仅仅通过检查源代码是很难预测和理解这些错误发生的可能性和发生的情景的。
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数据结构,您将编写五个特定于格式的解析器,并将格式信息硬编码到解析器程序代码中。
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.
测试将变得复杂,新开发人员通常要花很长时间才能明白这个代码是做什么的。
Testing gets complicated and usually new developers have a hard time trying to understand what the code does.
测试将变得复杂,新开发人员通常要花很长时间才能明白这个代码是做什么的。
应用推荐