Make code reuse easier because of a consistent API.
使代码重用更容易,因为有一个统一的API。
Arguments against Embedded DSLs are manifold. Like the idea that they make code harder to read.
对于嵌入式DSL的争论有很多,比如它们降低了代码的可读性,也确实如此。
Using good naming is the most important habit because descriptive names make code easier to read and understand.
使用良好的命名是最重要的编程习惯,因为描述性强的名称让代码更加容易阅读和理解。
Log4j provides some documentation on its performance impact, along with methods to make code perform better.
Log4j提供了一些关于其性能影响的文档,以及如何改进性能的方法。
Modern IDEs come equipped with "intelligent" editors and powerful refactoring toolkits that make code changes easy.
现代IDE一般都配备了“智能”编辑器和令代码变更容易的强大的重构工具。
For these reasons, the software automation technology can make code much standard and improve software development.
基于以上原因,软件自动化技术可以使程序代码更加的标准化,并极大的提高软件开发效率。
Implementation details and fine-tunings that try to make code readily optimizable for typical processors change across time.
尝试对典型处理器进行代码优化的实现细节和调优在随着时间不断改变。
For example, dependency-breaking techniques may be good for low coupling, but they can sometimes also make code harder to read.
例如,依赖破坏技术可能对低耦合有好处,但是有时候使代码很难去读懂。
Traditional parallelized compiler techniques use node splitting to make irreducible loops reducible, but will make code duplicate inevitably.
传统的并行编译器在处理非可规约循环时一般使用结点分割法,但由此带来的代码复制是不可避免的。
Providing the ability to use a keyword argument is not essential, but it can make code with lots of arguments a lot clearer, and is not much extra work.
提供使用关键字参数的能力不是必需的,但它可以使带有许多参数的代码变得清楚许多,而且不需要大量的额外工作。
Furthermore, maintainability contributes to the frustration (or lack thereof) of developers — the easier it is to make code changes, the easier it is to add new product features.
另外,不佳的可维护性还会让开发人员十分头痛(进而导致开发人员的缺乏)——代码越容易修改,就越容易添加新的产品特性。
Don't diddle code to make it faster—find a better algorithm.
不要为了使代码更快而胡乱编写代码——要找到更好的算法。
Just as the code breaking has its wider relevance in the struggle for Spain, so his attempts to make his way up the promotion ladder speak volumes about British society.
正如破译密码在西班牙的战争中有着更广泛的意义一样,他试图晋升的努力也充分说明了英国社会的情况。
It is a movement building steady momentum: a call to make research data, software code and experimental methods publicly available and transparent.
这是一场建立了稳定势头的运动:呼吁让研究数据、软件代码和实验方法公开和透明。
So, what happened to the CSS code to make it smaller?
那么,为了使文件更小究竟对CSS代码做了什么呢?
To be safe, namespace all ID attributes, even though doing this can make your code difficult to read, as you can see in Listing 5.
为了安全起见,请对所有ID属性设置名称空间,即使此操作会使您的代码像在清单5中看到的一样难于阅读。
This restriction doesn't have the same potential pitfalls as what we just discussed, but it can make your code pretty wordy.
和我们刚才讨论的不同,这一限制没有同样的潜在缺陷,但它会使您的代码非常冗长。
If we wanted to augment the set of commands, we would need to make some code changes.
如果我们想增加命令集,那么,将需要对代码做一些更改。
Then ask yourself another question: is it easier to write all new code or to make changes to existing code?
然后再问自己另一个问题:写全新的代码容易还是对现有代码进行修改容易?
Not only does the additional error handling make the code more robust, but it also helps with readability and understandability.
额外的错误处理不仅使代码更加健壮,它还提高代码的可读性,使代码更容易理解。
The structures are fairly minimalist and not very well generalized; this is to make the code smaller and easier to read.
这个结构是极度简化的,没有被很好地实现;这是为了让代码更少,更容易读懂。
Profile documents are cached in memory, so it's difficult to make your code notice when changes have been made by another process.
概要文档缓存在内存中,因此要使您的代码意识到另一个进程已做的更改很困难。
It's a very simple idea, but it sure does make your code a whole lot clearer.
这是个非常简单的想法,但确实使你的全部代码变的清晰了。
If those strings are selected carefully, they can make the resulting code much clearer.
如果这些字符串经过精心挑选,它们就可以使结果代码更简洁。
Make sure the code compiles cleanly and all the imports are resolved.
确保整齐地编译代码,并且解析所有导入。
There were many significant internal changes to make the code cleaner and easier to work with between 1.5 and 2.0.
在版本1.5至2.0之间,对该特性进行了很多重要的修改,使得代码更为清晰而且更便于使用。
There is no straightforward way to make the code in Listing 1 thread-safe, making this idiom an accident waiting to happen.
没有直观的途径来使清单1中的代码是线程安全的,这使这种语言风格成为了一种等待时机发生的事故。
These interfaces make JAXB-generated code fairly easy to use with existing documents.
这些接口使jaxb生成的代码可以相当容易地与现有文档一起使用。
What are the basic modules, what information needs to be passed between those modules in order to make the code work.
基本的模块是哪些,为了让整个程序正常运行,这些模块之间需要传递的信息有哪些。
Rather, you'll want to make this code available in general methods of centralized classes that any script can use.
您更希望这段代码可以被任何脚本都可以使用的核心类的方法所调用。
应用推荐