6
We’re creating a website on the computer history of the '70s to '90s, and at a certain point I found the paradigm reflective
. Has this last something to do with reflection
, that by the way what is?
6
We’re creating a website on the computer history of the '70s to '90s, and at a certain point I found the paradigm reflective
. Has this last something to do with reflection
, that by the way what is?
7
Reflection is the ability of a program to know of which parts it itself is composed, without requiring the programmer to enter this data manually, that is, the data on the program structure are inserted and produced automatically by the compiler in the form of meta-data.
It is like a mirror, so it is called reflection: the program sees itself... it has knowledge of its characteristics: what classes exist, what methods exist, etc..
The reflection also deals, by extension, with the capacity that some programs have to change themselves, that is, to add more code to themselves dynamically, thus constituting, a paradigm through which one can program.
That is, it is the paradigm that allows meta-programming, that is, in addition to allowing the observation of meta-data, it allows the generation of new parts for the program dynamically, or even the replacement of existing parts by others generated dynamically.
Therefore, the reflective paradigm is related to reflection.
Reflexive paradigm == Meta-programming
@Broly yes. See this wiki.
Browser other questions tagged reflection
You are not signed in. Login or sign up in order to post.
It could be what the description of the tag says or it could be something else, it’s kind of broad with no details.
– Bruno Augusto
Reflection (C# and Visual Basic) http://msdn.microsoft.com/pt-br/library/ms173183.aspx
– Tony
Reflection is a paradigm in programming. It has more on this in this Wikipedia article. Later I can give a more elaborate answer.
– Oralista de Sistemas