Definition of Metaprogramming: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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.