Category:Programming paradigm/Reflective: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(Added a basic description)
Line 1: Line 1:
{{feature|Programming paradigm}}
{{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.

Revision as of 21:29, 21 September 2009

Programming paradigm/Reflective is a programming language feature.

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.

Subcategories

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

A

B

C

E

J

  • J(3 C, 1,413 P)
  • Java(3 C, 1,340 P)
  • Jinja(4 P)

M

P

R

  • Raku(3 C, 1,619 P)
  • Ruby(3 C, 1,236 P)

S

T

  • Tcl(4 C, 983 P)
  • Trith(3 C, 21 P)