Boilerplate or in-line content?
样板文件还是内联内容?
Controllers sans that fussy boilerplate code.
用于模糊样板代码的控制器。
But often the boilerplate code isn't so pretty.
但是通常来说,这些样板代码并不会如此精美。
It USES binding to significantly reduce boilerplate code.
它使用绑定极大地减少了样板文件代码。
However, Listing 3 still has a lot of boilerplate code.
然而,清单3中仍然有一些样本代码。
This class is mostly boilerplate code, not directly relevant to Comet.
这个类基本上是样板代码,与 Comet没有直接的关系。
Lombok has a clever solution to the boilerplate code problem, however.
然而,Lombok有一个很智能的方法来解决样板代码问题。
Create a boilerplate index.html file with the file shown in Listing 2.
使用清单2所示的文件创建index . html样板文件。
As you can see, Listing 4 has much less boilerplate code than Listing 3.
如您所见,清单4比起清单3样本代码明显减少。
Obtaining a simple reference to an EJB involved a lot of boilerplate code.
为了获得一个简单的EJB引用,就需要许多样板代码。
JPA has made this task easier, but still requires a lot of boilerplate code.
JPA让持久化变得非常容易,但是仍然需要编写很多模板代码。
These two methods remove a lot of boilerplate code in most Web applications.
这两个方法减少了很多Web应用程序中的样板代码。
All the generic, boilerplate connectivity code has moved into the parent class.
所有通用的连接代码都已经转移到父类中了。
Most of this is just boilerplate code: several fields with getters and setters.
这段代码的大部分都是样本文件代码:几个字段和一些 getter 和 setter 方法。
Using boilerplate macros can make maintenance of such templated code much easier.
使用样板宏可以使这种模板化代码的维护更容易。
This is pretty much boilerplate remote procedure calling code except for the line
这是非常标准的远程过程调用代码,除了这一行
Traditionally, supporting JMX involves implementing patterns with boilerplate code.
传统上,支持JMX包括用样本代码实现模式。
Now, if you can, it's best to abstract out the boilerplate portions into a function.
现在,如果可以,最好是能够将这些样板部分抽象成一个函数。
That's useful, but at times you may also want to generate your own boilerplate code.
这个很有用,但有时您还需要生成自己的样本代码。
Programs that have a lot of boilerplate code that cannot be abstracted into functions
有大量样板文件的程序,但是无法抽象成函数
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
没有人喜欢编写或维护样本gui至域模型同步代码。
thei adhere about in the appearance boilerplate while newer cossack trend came by and by.
关于坚持使用更为样板,而新的外观趋势,和哥萨克来了。
This could well be boilerplate. But spies may think twice now before passing on information.
虽然这可能是样板文件,但特务们以后互通情报的时候可得三思而行了。
When creating a new document, there is a shortcut for adding boilerplate HTML, as shown below.
当创建新文档时,有一个添加样板HTML的快捷方式,如下所示。
It embraces core web technologies, making common, boilerplate tasks easier and more intuitive.
它包括核心web技术,使普通的web开发任务更容易、更直观。
This means that boilerplate code is one of the few places where non-hygienic macros are useful.
这意味着样板代码是适合使用非健康宏的少数几种情况之一。
Increase the productivity of software engineers by abstracting from low-level boilerplate code.
从低层次的重复代码中抽象出来,提高软件工程的生产效率。
These can be largely avoided by doing a few things in conjunction with your boilerplate macros.
通过对样板宏采取一些措施,可以在很大程度上避免这些问题。
One way to reduce the pain of building boilerplate code is Visual Studio's code snippets feature.
减轻书写模板代码之痛苦的途径之一,是VisualStudio的代码片断功能。
Listing 1 presents the boilerplate module functions, defining the module entry and exit functions.
清单1展示了样板模块功能,定义了模块入口和出口函数。
应用推荐