Strategy (classical approach)
Invent an interface that does what we want
Declare a base class that captures that interface
Derive a class for each data structure we care about
Previous slide
Next slide
Back to first slide
View graphic version