|
|
Line 1: |
Line 1: |
| == Introduction == | | == Introduction == |
|
| |
|
| [http://en.wikipedia.org/wiki/Reflection_(computer_science) Reflection] allows programs to act in a more "intelligent" way by providing programs the ability to answer questions about what they do and modify behavior based on those answers. Languages can be reflective by either including this information in each object, or by including a package that grants access to this information. | | [http://en.wikipedia.org/wiki/Reflection_(computer_science) Reflection] |
| | |
| == Introspection ==
| |
| | |
| Reflective langauges can answer questions about themselves and their methods.
| |
| | |
| === Reflective Language Examples ===
| |
| | |
| ==== Ruby ====
| |
| | |
| === Reflective Package Examples ===
| |
| | |
| ==== Java ====
| |
| | |
| == Feature 2 ==
| |
| | |
| === Reflective Language Examples ===
| |
| | |
| === Reflective Package Examples ===
| |
|
| |
|
| = References = | | = References = |
Revision as of 22:10, 6 September 2010