ComputingComputer ScienceComputer ArchitectureProgramming LanguagesSystems ArchitectureObject-oriented DesignObject-oriented ProgrammingProgramming Language ImplementationReflectionReflection PrinciplesSoftware ArchitectureApi ArchitectureApi DesignDesign PrinciplesMetaprogrammingObject-oriented ArchitectureObject-oriented Language DesignObjectsProgramming Models
We identify three design principles for reflection and metaprogramming facilities in object oriented programming languages. <i>Encapsulation</i>: meta-level facilities must encapsulate their implementation. <i>Stratification</i>: meta-level facilities must be separated from base-level functionality. <i>Ontological correspondence</i>: the ontology of meta-level facilities should correspond to the ontology of the language they manipulate. Traditional/mainstream reflective architectures do not follow these precepts. In contrast, reflective APIs built around the concept of <i>mirrors</i> are characterized by adherence to these three principles. Consequently, mirror-based architectures have significant advantages with respect to distribution, deployment and general purpose metaprogramming.
20
The art of the metaobject protocol
Choice Reviews Online · 1992 · 1K citations
Concepts and experiments in computational reflection
Pattie Maes · 1987 · 1K citations
David Ungar, Randall B. Smith · 1987 · 909 citations
Gilad Bracha, William R. Cook · 1990 · 811 citations
Engineering, Systems Engineering, Knowledge Representation +13