January 2019
Intermediate to advanced
512 pages
14h 5m
English
A behavioral pattern describes a way to solve a common problem by using a specific method to communicate between different objects.
The template method pattern is a standard way to implement an algorithm that has a rigid skeleton or the overall flow of control, but allows for one or more customization points for specific kinds of problems.
The template method lets the subclasses (derived types) implement specific behaviors of the otherwise generic algorithm. The key to this pattern is the way the base and the derived types interact.