Jump to content

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.

References

<references>

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

Subcategories

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

A

B

C

E

J

M

P

R

  • Raku (3 C, 1,635 P)
  • Ruby (3 C, 1,240 P)

S

T

Cookies help us deliver our services. By using our services, you agree to our use of cookies.