Anonymous user
Category:Programming paradigm/Reflective: Difference between revisions
Category:Programming paradigm/Reflective (view source)
Revision as of 12:04, 22 September 2009
, 14 years agoMoved stub template from talk page to main page
(Added a basic description) |
m (Moved stub template from talk page to main page) |
||
Line 1:
{{stub}}{{feature|Programming paradigm}}
A language is reflective if it includes features that allow it to ask about the current state of the program, e.g., by being able to inspect what classes are defined, what methods those classes define, or what instances of those classes have been created. This makes it far easier to write test harnesses and dynamic programs. However, one issue with reflective programming languages is that it is less clear when a part of the program has become actually unreachable as reflective techniques could be used to revive a reference to it.
|