Will you have to distribute the resulting code to others?
您要将所生成的代码分发给其他人吗?
This has a big impact for both testability and flexibility of the resulting code.
这对可测试性和灵活性方面有很大的影响。
If those strings are selected carefully, they can make the resulting code much clearer.
如果这些字符串经过精心挑选,它们就可以使结果代码更简洁。
The words we use to describe the resulting code are evocative: clunky, bloated, smelly.
我们用于描述结果代码的词汇唤起了我们的回忆:笨拙、臃肿、刺鼻。
But in the end I think the resulting code was much leaner and easier to extend and work with.
但是最终我认为代码会变得更精益、更易于扩展和使用。
While the resulting code isn't identical to the original source code, it is functionally the same.
虽然它生成的结果与源码并不完全一致,但在功能上是相同的。
The tool must adhere to a strict contract: the resulting code must still work just as it did before.
工具必须严格遵合同:生成的代码必须能够和以前一样工作。
If a developer is familiar with the functional approach, the resulting code in many cases is easier to understand.
如果开发人员熟悉函数方法,则在很多情况下,生成的代码会更易于理解。
The resulting code consisted of 52 source files in 9 packages, compiled to 118k (in 5 Blackberry-format.cod files).
结果代码由9个包中的52个源文件组成,编译后达到118k(在5个blackberry格式的. COD文件中)。
The more time spent developing the assets required for generation, the less time required to modify the resulting code.
花费在开发所需要生成的资产的时间越多,修改最终代码所需要的时间就越少。
All too often "fuzzy" requirements wind up getting modeled improperly and the resulting code does not satisfy the user's needs.
通常“不明确的”需求会导致不适当的建模,而结果代码不满足客户的需要。
They work the same way: give the template handler a template, a verb, and a modifier, and it will happily run the resulting code.
它们以同样的方式工作:为模板处理程序给出一个模板、一个动词和一个修饰语,它将恰如其分地运行结果代码。
When I decide to move the resulting code into production — with a URL like acmecorp.biz/geotweet — I'll need to generate another key.
当我决定使用 acmecorp.biz/geotweet 之类的URL将得到的代码移动到生产环境中时,我将需要生成另一个键。
As with scaffolding, you may need to extend the resulting code, but the initial application is surprisingly functional in its own right.
与使用搭建时一样,您可能需要扩展生成的代码,但初始的应用程序从它本身来说,其功能性令人惊讶。
When we were learning new Scala features, we chose whether to use them based on whether the intent of the resulting code was more obvious.
在我们学到Scala新特性的时候,我们会根据代码是不是能够更明确的体现出实现意图来决定用不用。
While metaprogramming is powerful, using it well takes experience and the resulting code tends to be hard to understand, maintain, and debug.
元编程十分强大,但是使用它需要经验,而且会导致代码变得难以理解,维护和调试。
Even though this approach takes manual programming out of UI development, programmers don't have to sacrifice control over the resulting code.
尽管这种方法将手工编程从UI开发中解放出来,但程序员不必牺牲对结果代码的控制。
To solve this, we can push that method call into a closure and make the calls against that closure, instead. The resulting code is shown below.
为了解决此问题,我们可以把该方法调用放入闭包并转而针对该闭包执行调用。
The widespread adoption of programmer testing over the past five years has been driven by the demonstrable productivity and quality of the resulting code.
在过去五年中广泛采用的程序员测试是由显著的生产率和得到的代码质量所驱动的。
However, it often is useful to break up a more complicated query into multiple queries because the resulting code is more modular and easier to maintain.
但是,将一个比较复杂的查询分解成多个查询通常很有好处,因为这样产生的代码更加模块化,更易于维护。
It's especially important after making changes suggested by Traceview data to ensure that the resulting code actually runs faster when run without Traceview.
特别重要的,根据Taceview的数据作出更改后,请确保代码在没有Traceview时,确实跑的快了。
The resulting code is a beautiful example of a tiny domain-specific language within Rails that extends Ruby to make a kind of switch statement. Here's how it works.
生成的代码是Rails中小型的特定于域的语句的优美示例,它扩展Ruby以构造一种switch语句。
Skipping to these boundaries can increase performance as well as the size of the resulting code and data Spaces; therefore, these particular optimizations are disabled.
跳过这些界限可以提高性能,以及由此产生的代码和数据空间的大小,因此,这些特定的优化被禁用。
To simplify the resulting code, change the target package name for the action from com.ibm.lab.helloworld.actions to com.ibm.lab.helloworld, the same name as the project.
要简化所产生的代码,将该操作的目标包名从com . ibm .lab .helloworld . actions更改成com . ibm . lab . helloworld,即与该项目的名称相同。
Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
The resulting code for handling all aspects of this lookup was straightforward but rather unwieldy, especially if you happen to have multiple tables that you want to use throughout a transform.
处理这类查找的代码非常简单但是相当笨拙,尤其是在转换中使用多个表的时候。
Although the fundamental mechanism underlying these two technologies (XSLT and PHP) is quite different, the resulting code will have a remarkably similar structure between the two implementations.
尽管两种技术(XSLT和php)的基本机制是完全不同的,但两种实现的结果代码却有非常相似的结构。
This fix can be made simply by editing the struts-html.tld and changing the rewrite tag to use the org.apache.struts.taglib.html.RewriteTag class. The resulting code should look like the following.
简单的修订方法是编辑struts - html.tld并且使rewrite标记改用or g .apache . struts . taglib . html . rewritetag类。
Unfortunately, the sample program called STRCMP with no arguments, so the resulting assembly code was invalid and the compile failed.
不幸的是,前面的例子程序调用strcmp时没有给出参数,因此生成的汇编代码无效,从而导致编译失败。
This next level of abstraction requires a bit more setup, but the resulting client code is much simpler.
接下来的一层抽象需要更多的设置工作,但是最终客户机的代码可就简单得多了。
应用推荐