Template Method
In plain terms
A pattern defining an algorithm's skeleton with overridable steps.
Going deeper
The Template Method defines the overall structure of an algorithm in a base class while letting subclasses override specific steps. The skeleton is fixed, the steps vary.
Under the hood
Uses inheritance to share structure; the 'Hollywood principle' (don't call us, we'll call you) applies.
Examples
Framework hooks, algorithm skeletons, base-class workflows, lifecycle methods.
Think of it like...
Like a recipe with fixed stages where you choose the specific ingredient at each step.