Definition of Metaprogramming: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
== subheading == 1.1 Definition of Metaprogramming
1.1 Definition of Metaprogramming
 
'''Metaprogramming''' refers to the writing of programs that generates code at run time. It allows us to dynamically add behavior to existing classes and objects.
'''Metaprogramming''' refers to the writing of programs that generates code at run time. It allows us to dynamically add behavior to existing classes and objects.


'''Ruby''' is useful for metaprogramming as it is dynamic and reflective. It allows flexibility in writing new control structures.
'''Ruby''' is useful for metaprogramming as it is dynamic and reflective. It allows flexibility in writing new control structures.

Latest revision as of 17:48, 10 October 2007

1.1 Definition of Metaprogramming

Metaprogramming refers to the writing of programs that generates code at run time. It allows us to dynamically add behavior to existing classes and objects.

Ruby is useful for metaprogramming as it is dynamic and reflective. It allows flexibility in writing new control structures.