boilerplate
n. 样板文件;引用
2025-06-03 05:57 浏览次数 4
n. 样板文件;引用
citation引用,引证;[法] 传票;褒扬
with boilerplate全损之外担保分损
boilerplate stuff陈词滥调
citing引用;引证(cite 的现在分词)
boilerplate contract铁板合同
arithmetic boilerplate算术平均数
Under boilerplate差数计分
license boilerplate许可版本
boilerplate text重复使用文字
No boilerplate无模板
ensemble boilerplate系综均匀
no one likes writing or maintaining boilerplate gui to domain model synchronization code.
没有人喜欢编写或维护样本gui至域模型同步代码。
it would save time and effort, but at the expense of code readability and comprehension, because boilerplate code usually adds noise to application source.
这是节省了时间与精力,但将以牺牲可读性与可理解性为代价,因为样本代码通常会向应用程序源增加干扰词。
the good news about the entries in listings 2, 3, and 4 is that they are virtually the same in all of your applications and essentially boilerplate code.
关于清单2、3和4中的条目,好的方面是,在所有应用程序中它们几乎都是一样的,实际上这就是样板代码。
but every once in a while, the use of a word like 「still」 or 「only」, stuck in an other boilerplate sentence, will signal actual news.
但是,时不时的,像「依然」「仅仅」这样的词被放进另一个文件句子中时,就将会传递新的实质性的新闻信息。
boilerplate or in-line content?
样板文件还是内联内容?
using boilerplate macros can make maintenance of such templated code much easier.
使用样板宏可以使这种模板化代码的维护更容易。
programs that have a lot of boilerplate code that cannot be abstracted into functions
有大量样板文件的程序,但是无法抽象成函数
we have numerous success stories from all around the company, in reducing boilerplate and making it easier for new engineers to come on board and learn the complex inner workings of legacy code.
在公司到处都有减少样板代码,让新来的工程师易于上手并学习遗留代码内部工作机制方面的成功案例。
this kind of architecture could only be employed with powerful tools to keep developers from writing tedious boilerplate code.
这类架构只能与强大的工具结合使用,从而使开发人员避免编写单调乏味的样板代码。
you can also create some helper methods to simplify the boilerplate initialization of the server object.
还可以创建一些助手方法以简化服务器对象的样例初始化。
boilerplate data synchronization
样本(boilerplate)数据同步
listing 1 presents the boilerplate module functions, defining the module entry and exit functions.
清单1展示了样板模块功能,定义了模块入口和出口函数。
this lets us splice the expression into our bit of boilerplate code, then the whole shebang is converted back into a syntax object as the final transformation.
这使我们能够将表达式拼接到样板代码的位中,然后将产生的整个表达式转换为语法对象。
now, if you can, it「s best to abstract out the boilerplate portions into a function.
现在,如果可以,最好是能够将这些样板部分抽象成一个函数。
clearly, the boilerplate portion of this code could be reused, and we typically do so in object-oriented languages by creating structure.
很显然,该代码的样板文件可重复使用,我们通常会在面向对象语言中通过创建架构来实现。
it uses binding to significantly reduce boilerplate code.
它使用绑定极大地减少了样板文件代码。
the closures notation strips away the boilerplate associated with inner classes, allowing a more compact (and more importantly, more direct) expression of the desired data operation.
闭包标注取消了与内部类相关的引用,允许更紧凑(重点更突出、更直接)地表示需要的数据操作。
obtaining a simple reference to an ejb involved a lot of boilerplate code.
为了获得一个简单的ejb引用,就需要许多样板代码。
in such cases, it is often a good idea to create a mini-language that allows you to work with your boilerplate code in an easier fashion.
在这种情况中,通常创建一个小型的语言来更简单地利用样板文件的代码。
say, you parse a database or an xml file and generate data classes. tens of classes, hundreds of properties, all fairly generic, boilerplate stuff.
假设你解析一个数据库或者一个xml文件,然后生成了数据类,结果你会发现有数十个类、几百个属性以及一大堆泛型和模板文件等。
it」s an extremely useful tool in situations where boilerplate code is required, helping to keep your source tree free of clutter that contributes nothing to the operation of the application.
在需要样板代码的地方,它是极为有用的工具,可以帮助源代码树消除那些对应用程序的操作毫无用处的混乱。
chapter 19 on e-mail, for instance, gives no direct help when you have a mail loop or a wedged queue, or need to filter spam, limit inbox sizes, archive traffic, or automate boilerplate disclaimers.
例如,第19章是关于电子邮件的,当出现邮件循环、队列分裂,或者需要过滤垃圾邮件、限制收件箱大小、归档流量或使样板文件负责声明时,它不会给您任何直接帮助。
it also provides you with an elegant application model, making heavy use of the delegate pattern to eliminate much of the boilerplate code from your application.
它还向您提供了一个优雅的应用程序模型,利用代理模式来从您的应用程序消除大量重复代码(boilerplatecode)。