Template Method: self-delegation
State and Strategy as "factored out" extensions to Template Method
Template Method great pattern, lousy name
# "template" very overloaded 0 generic programming in C++ 0 generation of document from skeleton a better name: self-delegation
0 directly descriptive 0 TM tends to imply more "organization"
Was this article helpful?