Putting Metaclasses to Work: A New Dimension in Object-oriented ProgrammingPutting Metaclasses to Work takes a new, evolutionary look at important concepts of object-oriented programming, starting with the development of an object model from fundamental principles. Unique aspects of this object model include a use of metaclasses to encapsulate the implementation of object properties and a support for reuse of metaclasses. Metaclass reuse is based on a new semantics for inheritance that automatically combines metaclasses by using multiple inheritance to compose object properties. This book provides a concrete demonstration of how metaclasses can be used to increase productivity and reusability in object-oriented programming. A C++-based language for programming metaclasses according to the authors' model is presented and then used throughout the book, allowing the reader to understand the utility and importance of metaclasses within the overall context of object-oriented programming. In addition, this book:
0201433052B04062001 |
Contents
Introduction | 1 |
The Elements of Reflective ClassBased Models | 11 |
Inheritance of Metaclass Constraints | 37 |
Copyright | |
15 other sections not shown