The Template Method Incantation in Simula
Defining the skeleton of a ritual and letting heirs flesh out the steps.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Template Method
ARCANUM SCHOOL: Necromancy // Skeleton
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SIMULA PATTERN //
Begin
Class AbstractClass;
Virtual: Procedure PrimitiveOperation1, PrimitiveOperation2;
Begin
Procedure TemplateMethod;
Begin
PrimitiveOperation1;
PrimitiveOperation2;
End;
End;
End;
The Template Method lays down the unyielding spine of an algorithm. Subclasses provide the meat and blood, implementing specific esoteric steps while honoring the grand, unchanging structure of the rite.
Runic Tags:
#simula
#gof
#behavioral
#skeleton