Assertion: policy | /r/HasProperty | represented by abstractbase classes
Facets:
value: by derived classes
type: OTHER
value: in policy-based design
type: OTHER
value: traditionally
type: OTHER
Source sentences:
text: A notable feature of this aspect of the policy idiom is that, relative to object-oriented programming, policies invert the relationship between base class and derived class - whereas in OOP interfaces are traditionally represented by (abstract) base classes and implementations of interfaces by derived classes, in policy-based design the derived (host) class represents the interfaces and the base (policy) classes implement them.