Author:
Virginia Niculescu
Affiliation:
Faculty of Mathematics and Computer Science, Babeş-Bolyai University, 1 M. Kogălniceanu, Cluj-Napoca, Romania
Keyword(s):
Patterns, Mixins, Composition, Inheritance, Static Binding, Performance, Templates, C++.
Abstract:
Design patterns represent important mechanisms in software development, since a design pattern describes the core of the solution for a recurrent problem. This core solution emphasizes the participants with their responsibilities, and their possible relationships and collaborations. In the classical form these solutions are based on inheritance and composition relationships with a favor on composition. Mixins represents another important reuse mechanism that increases the level of flexibility of the resulted structure. In this paper, we investigate the possibility of using mixin for design pattern implementation, providing interesting adaptations. This approach represents a complementary realization of the design patterns, that brings the advantages of increased flexibility and statically defined relations between pattern participants.