The good news is that you can easily avoid this maintenance nightmare by using libraries, frameworks, and code generators.
好的一面是您可以通过使用库、框架和代码生成器,很容易地避免这个维护问题。
That means it should have generators, similar scripts to start the console, a plug-in framework and so on.
这意味着它应该有生成器、类似的启动命令行脚本、一个插件框架等。
This means any syntax tree can be turned back into source code, an important feature for code generators and refactoring tools.
这意味着所有语法树都能够转换回源代码,这对于代码生成器和重构工具都是非常重要的功能。
Such resources may include common classes or other tools such as test harnesses and test data generators.
这种资源可以包括通用类或类似于测试工具与测试数据生成器等。
But a user interface almost always requires some customization, even when you use the most sophisticated generators.
但是即使使用最高级的生成器,用户界面也总是需要些定制。
This included generic textual-substitution systems, as well as domain-specific program and function generators.
这包括通用文本替换系统,以及领域特有的程序和函数生成器。
Another installment of this column presents a mechanism for simulating coroutines with simple generators.
本专栏的前面一部分提出了一种用简单的生成器模拟协同程序的机制。
The generators block specifies your preferences for the application and invokes the proper generator for your models, views, and so on.
生成器块会指定应用程序的首选项,并根据您的模型、视图等调用适当的生成器。
This application combines multiple tests from different areas of LTP's test suite, along with memory and network traffic load generators.
这个应用程序组合了来自LTP的测试套件不同方面的多个测试以及内存和网络传输负载生成器。
Finally, we must ensure that the generated EMF packages being used by RRD extension generators and handlers have been properly initialized prior to use.
最后,我们必须确保在使用之前正确初始化了由RRD扩展生成器和处理程序使用的已生成emf包。
I want to see something built on top of MS MVC that even more-so favors Convention over Configuration — including but not limited to generators and such.
我想看到一些在MSMVC之上的实现,它们更加遵循“惯例胜于配置”的理念——包括生成器以及更多的功能。
By building custom report generators (or XML report processors) you can construct different kinds of reports to verify the components in your application.
通过构建定制报告生成器(或XML报告处理器),您可以构造不同类型的报告以验证应用程序中的组件。
As it turned out, this wasn't too hard to do, as I had worked on compilers and code generators in the past.
果不其然,这并不是很困难,因为我过去从事过编译器和代码生成器的工作。
After placing generic code into reusable components or frameworks, consider using code generators to produce specialized code more efficiently.
在将泛型代码放入可重用组件或框架时,可以考虑使用代码生成器来更有效地生成特定的代码。
Now let's turn our attention from generic textual-substitution programs to highly specialized code generators.
现在让我们把注意力从通用的文本替换程序转移到专用的代码生成器上来。
It enables end-to-end local and remote testing, and creates high-quality applications using wizards, code generators, and best practices.
通过它可以进行端到端的本地及远程测试,并利用向导、代码生成器及最优的实践来生成高质量应用程序。
In fact, after very little practice, generators seem as obvious as ordinary functions.
实际上,稍加实践之后,就可以象普通函数那样容易地使用生成器。
There's more on generators here.
更多的生成器在这里 。
A sequence of extension generators or extension handlers is referred to as an extension chain.
扩展生成器或扩展处理程序的序列称为扩展链。
Note that other parser generators, such as ANTLR, use similar approaches.
注意,其他的解析器生成器也是采用类似的方法,比如ANTLR。
Quibbles over syntax aside, generators have the good manners to automatically act as iterators when called on to do so.
先不考虑语法,当调用生成器来担当迭代器时,生成器有良好的状况来自动担当迭代器。
But the most typical use of generators will be for defining iterators; so some of the subtlety is not always worth worrying about.
但生成器最典型的用途是用来定义迭代器;所以不值得总是为一些细微之处而担心。
The test generators could not randomly generate valid games.
显而易见,测试生成器并不能随机生成有效的游戏。
Now that you've seen several types of code generators and the types of things that they can do, it is now time to write a small code generator.
现在您已经见过了几种代码生成器,了解了这些代码生成器可以实现怎样的功能,接下来我们应该开始编写一个小型的代码生成器了。
Code generators: Added code generators and made building custom ones easy too by using EJS.
代码生成器:新增了代码生成器,将您轻松使用EJS创建自定义项目。
They are not code generators per se, but rather just short cuts for common coding patterns.
它不是代码生成器,而是一些面向常用编码模式的快捷方式。
Data generators are used to populate tables with random test data, which is especially helpful when very large datasets are needed.
数据生成器使用随机的测试数据来填充数据表,当需要大量数据集的时候这个功能特别有用。
Automated parser generators alleviate that difficulty.
自动化解析器生成器减轻了这种困难。
You may wonder why these are implemented as code generators instead of as functions. There are several reasons.
您可能会纳闷为什么这些都是作为代码生成器实现的,而不是作为函数实现的。
Using frameworks and code generators
使用框架和代码生成器
应用推荐