metaprogramming

metaprogramming

 英

  • 网络元编程;元程序;元编程能力

例句

Some parts of an application can be written as a PIM in which most of the legwork is done by the metaprogramming system.

应用程序有些部分可以作为一个PIM编写其中大部分信息搜集工作可以编程系统实现

In a dynamically typed language, it is often necessary to use metaprogramming features to implement advanced designs.

一种动态类型语言使用编程特性实现高级设计经常必要

But the Searchable plug-in also does a bit of metaprogramming on your individual domain classes.

Searchable插件可以个人一些编程

Scaffolding -- like many metaprogramming techniques -- is nothing but a run-time code generator.

搭建许多编程技术一样就是运行代码成器

The best systems are those that allow you to work at multiple levels of abstraction within the metaprogramming system itself.

最好系统可以编程系统本身内部可以进行多级抽象

In " Metaprogramming with closures, ExpandoMetaClass, and categories, " you were introduced to the notion of a delegate.

使用闭包ExpandoMetaClass类别进行编程了解delegate概念

Code-generating programs are sometimes called metaprograms; writing such programs is called metaprogramming.

用来生成代码程序有时称为程序metaprogram);编写这种程序称为编程metaprogramming)。

Rather than deal with that pain, Streamlined allows effective customization through metaprogramming plus templates.

Streamlined并不处理这个麻烦而是支持通过编程模板有效定制

One of the most common metaprogramming scenarios is the creation of classes with attributes and methods that are dynamically generated.

使用编程普通情况就是创建具有动态生成属性方法

Two Java frameworks that seem to get the mix of code generation and metaprogramming right are RIFE and JMatter (see Resources).

看起来正确混合代码生成数据Java框架它们RIFEJMatter请参阅参考资料)。

Because of this, the metaprogramming system should be customizable to produce output for a wide variety of systems.

由于这个原因编程系统应该可以进行定制从而各种系统产生输出

This time, however, the failure isn't due to the lack of metaprogramming on a domain class. It's due to the lack of dependency injection.

但是这次失败并不是因为缺少编程而是因为缺少依赖性注入

The first difference between traditional metaprogramming and enterprise metaprogramming are the problems each tries to solve.

传统编程企业编程之间首要区别在于二者试图解决问题不同

It is shown here for context; most of it is semi-advanced Ruby metaprogramming so I won't discuss it in detail.

作用提供上下文参考大多数内容比较高级Ruby编程因此本文不会详细讨论

It uses metaprogramming to generate the view model and allow you to bind to the objects you define in your controller.

使用编程生成视图模型使能够绑定控制器定义对象

As you saw in the third article in this series, Rails's metaprogramming strategy makes each line of code work harder.

正如系列第三篇文章看到Rails编程策略使代码执行更多任务

But what if you want your metaprogramming to be more limited (especially important when writing unit tests)?

但是如果希望编程进行更多显示怎么对于编写单元测试尤其重要)?

Generic programming invokes a metaprogramming facility within a language, in those languages supporting it.

编程调用一个设施编程语言这些语言支持

Giles starts with the Greek letters pi, lambda and the word meta to lead over to metaprogramming (5: 25).

Giles首先希腊字母pilambda单词meta编程开头(5:25)。

Jakarta Commons Lang: These helper utilities for the java. lang API include classes you can use for metaprogramming with Groovy.

JakartaCommonsLang这些用于java.langAPIhelper实用工具包括用于Groovy编程

The metaprogramming systems described in the previous articles in this series are essentially platform-specific models.

系列教程文章介绍编程系统实际上平台特有模型

Notice that you can undo the metaprogramming by simply setting the String. metaClass to null.

注意只需String.metaClass设置null就可以取消编程

Metaprogramming often provides much cleaner solutions to problems.

编程通常提供更加简洁解决方案

Using a combination of Ruby reflection and metaprogramming, the columns of the table become properties of the object.

使用Ruby反射编程组合可以变成对象属性

In fact, most of the time that I use metaprogramming on a daily basis is when I'm writing tests.

其实平常大多数时候编程应用测试上面

Often, most of the code can use the metaprogramming tools available to accomplish the task.

通常大部分代码可以使用编程工具实现这个任务

Metaprogramming is simply writing programs that write or change programs.

编程就是编写能够编写修改其他程序程序

If your metaprogramming requires eval, it's subject to the same requirements.

如果编程需要eval必须遵循相同要求

Metaprogramming has many uses in large-scale computer programming.

编程大型计算机编程许多用途

Enterprise metaprogramming involves these as well, but also adds other considerations.

虽然企业编程同样涉及这些问题但是它们增加其他一些考虑

Part 2 will delve more deeply into Streamlined's metaprogramming model and customization features.

第2部分进一步深入Streamlined编程模型及其定制特性

We then looked at several metaprogramming systems and examples of their use.

然后我们介绍几种编程系统几个使用这些系统例子

You can create views, which you may or may not need to modify, with true metaprogramming or code generation.

可以真正编程代码生成创建视图视图可能需要修改可能需要修改

Parts 1 and 2 in this series focused on textual metaprogramming systems; however, many metaprogramming systems are graphical in nature.

系列文章第1第2着重介绍文本编程系统系统然而很多编程系统实际上都是图形化

When you need to do metaprogramming, open up your toolbox and throw in some languages that allow delayed binding.

需要进行程序设计打开工具箱加入几种允许延迟绑定语言

First let's look at metaprogramming that involves textual macro languages.

首先我们来看一下涉及文本编程编程

Based on Hibernate with Swing, JMatter allows rapid development of quite sophisticated applications based on a metaprogramming model.

JMatter基于HibernateSwing允许根据编程模型迅速开发非常复杂应用程序

This is a metaprogramming method defined on the Class class that executes at interpretation time.

解释执行Class定义编程方法

InfoQ: If you have your own interpreter, how does this interact with metaprogramming and other dynamic behavior of Ruby?

InfoQ要是你们自己解释器如何支持编程metaprogramming以及Ruby其他动态特性

The big thing that changed for me when I started coding in Ruby is my ability to produce and consume metaprogramming constructs.

开始Ruby编写代码受到最大改变产生使用编程结构能力