CSCE 314 Lecture 32

From Notes
Jump to navigation Jump to search

« previous | Wednesday, November 16, 2011 | next »


Reflections and Metaprogramming

ability of a program to manipulate as data something representing the state of the program during its own execution.

Dynamic languages have an extreme support for reflections (quoting programs to treat them as a string, executing a tree structure as a program, etc.)

Java and C# have intermediate support cannot

C++ has very little support (simple introspection)


More information is available later during execution