Reflection (computer Programming)

Reflection (computer Programming)

In computer science, reflection is the ability of a computer program to examine (see type introspection) and modify the structure and behavior (specifically the values, meta-data, properties and functions) of an object at runtime.

Reflection is most commonly used in high-level virtual machine programming languages like Smalltalk and scripting languages and also in manifestly typed or statically typed programming languages such as Java, ML, and Haskell.

Read more about Reflection (computer Programming):  Historical Background, Uses, Implementation, Examples

Other articles related to "reflection":

Reflection (computer Programming) - Examples - Ruby
... The following is an example in Ruby without reflectionobj Foo.new obj.hello with reflectionclass_name Foo"method hello obj Kernel.const_get(class_name)new obj.send method ...

Famous quotes containing the word reflection:

    The Americans ... have invented so wide a range of pithy and hackneyed phrases that they can carry on an amusing and animated conversation without giving a moment’s reflection to what they are saying and so leave their minds free to consider the more important matters of big business and fornication.
    W. Somerset Maugham (1874–1965)