Skip to content

Glossary: Software Design Patterns

Template method

A pattern that fixes a job's steps in one place and leaves one step, the hook, for the caller or a child class to supply. `make_report` takes a `format_row` function.

Where the book teaches it

Related terms

HookAbstract class