Testable interfaces with polymorphic backends.
Customisation points to support interfaces
by Krzysztof Ostrowski
From the article:
Definition of an interface is not a trivial task. The resulting abstraction that embeds the defined interface actions does not have to be a set of virtual member functions wrapped into a class from which implementations exposed to the user derive. General guideline promoted in this article is to expose non-virtual interfaces to the user while providing a customisation point in the form of a minimal set of actions that can be combined with each other.
Add a Comment