composite reuse principle
noun
- a technique by which classes may achieve polymorphic behavior and code reuse by containing other classes that implement the desired functionality instead using inheritance.
Origin
Origin uncertain.
See also adaptive reuse aspect-oriented programming reflective programming fluent interface
Adapted from Wiktionary (CC BY-SA 4.0).