I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Category:Programming paradigm/Reflective

From Rosetta Code
(Redirected from Reflective programming)
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Programming paradigm/Reflective is a programming language feature.

A programming language is said to be reflective if it has the integral ability to observe or change its own code as well as all aspects of its programming language (syntax, semantics, or implementation) at runtime. [1] Reflective programming languages 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.


  1. A Tutorial on Behavioral Reflection and its Implementation by Matt Hurlbutt


This category has the following 18 subcategories, out of 18 total.