The Composite Incantation in Simula
Treating a tree of archaic artifacts as a single unified entity.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Composite
ARCANUM SCHOOL: Conjuration // Hierarchy
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SIMULA PATTERN //
Begin
Class Component;
Virtual: Procedure Operation;
Begin
End;
Component Class Composite;
Begin
Procedure Operation;
Begin
! Invoke Operation on all children;
End;
End;
End;
Through the Composite, a hierarchy of objects becomes a single tapestry. By treating individual leaves and branches uniformly, the conjurer manipulates profound structures with simple, unified commands.
Runic Tags:
#simula
#gof
#structural
#hierarchy