The Template Method Pattern
A polite necromantic guide to the Template Method pattern in INTERCAL.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Template Method
ARCANUM SCHOOL: Necromancy // Reanimation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
PLEASE DO STASH .TEMPLATE
DO .TEMPLATE <- #22
PLEASE COME FROM (31)
(31) DO IGNORE .SUBCLASS_RAISE
PLEASE DO RETRIEVE .TEMPLATE
The Template Method Pattern
In polite necromancy, Template Method is essential. When dealing with the dead, you must never forget to say PLEASE. If you fail to be sufficiently polite to the compiler, the spell will fail, and your spirits will not awaken. The Template Method pattern ensures your overarching reanimation algorithms remain intact while allowing ghoulish variations in the details, applied with the utmost courtesy.
Runic Tags:
#intercal
#template-method