Strategy in Whitespace
Encapsulating interchangeable algorithms within the void.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Strategy
ARCANUM SCHOOL: Evocation // Tactics
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
The Interchangeable Sigils of Tactics
The Strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Whitespace implements this elegantly through dynamic label invocation.
A specific heap address acts as the holder of the algorithm’s label. The context routine simply looks up this address and performs a dynamic jump. By pushing a different label pointer into the heap before execution, the caster entirely swaps the algorithmic approach.
This enables a highly modular architecture built out of pure nothingness, where different combat or processing routines can be swapped in milliseconds.
Runic Tags:
#unseen-sigils
#behavioral
#strategy
#whitespace