反射编程范例介绍了概念的元信息,保持知识的程序结构。
The reflective programming paradigm introduces the concept of meta-information, which keeps knowledge of program structure.
Rails应用程序并不使用配置文件,而是使用几条简单的编程约定,从而允许通过反射和发现来查明所有配置。
Instead of configuration files, a Rails application USES a few simple programming conventions that allow it to figure out everything through reflection and discovery.
您可以用其它编程语言创建类似的功能,但Python提供了非常通用的反射机制,而且能够清晰地表达有效性约束。
You could create an analogous capability in other programming languages, but Python provides particularly versatile reflection mechanisms, and allows clear expression of validity constraints.
本文将通过POJO编程构建一个简单的SOA框架,它使用反射和Geronimo 的GBean依赖性注入来让组件去耦。
This article proposes a simple SOA framework through POJO programming that uses reflection and Geronimo's GBean dependency injection to enable component decoupling.
也就是说,有效性类是使用Python反射定义的,而不是使用传统的顺序编程定义的。
That is, validity classes are defined using Python reflection rather than traditional sequential programming.
D语言不需要反射或额外的工具(例如ccrewrite),契约式编程在D语言中是天生支持的。
D does not require reflection nor external tools (such as the ccrewrite utility), contract programming is a "first citizen" language paradigm.
使用Ruby反射和元编程的组合,表的列可以变成对象的属性。
Using a combination of Ruby reflection and metaprogramming, the columns of the table become properties of the object.
从程序反射的角度分析元编程系统对程序设计语言在自我表示、自我分析和控制等方面的要求。
Meta-programming languages'extra requirements including self expressing, self reasoning, and self controlling in meta-programming systems are analyzed in a view of procedural reflection.
一门编程语言同时也是自身的元语言的能力称之为反射或者自反。
The ability of a programming language to be its own metalanguage is called reflection or reflexivity.
最后在水面光效渲染上,充分利用GPU可编程能力,实现水面光照、环境反射和折射效果,达到真实模拟水面场景效果。
Lastly we utilize the programmable capacity of GPU to realize water surface lighting, environment reflection and environment refraction, in order to get trueness water surface simulation.
最后在水面光效渲染上,充分利用GPU可编程能力,实现水面光照、环境反射和折射效果,达到真实模拟水面场景效果。
Lastly we utilize the programmable capacity of GPU to realize water surface lighting, environment reflection and environment refraction, in order to get trueness water surface simulation.
应用推荐