The Spawning Sigil (Factory Method)
Deferring the creation of specialized sed outputs to distinct branches.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Factory Method
ARCANUM SCHOOL: Transmutation // Streamweaving
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# Factory Method: Delegating string creation to specific labels
/CREATE:ERROR/ b error_factory
/CREATE:INFO/ b info_factory
b
:error_factory
s/.*/[ERROR] Spawned by error factory/
p
d
:info_factory
s/.*/[INFO] Spawned by info factory/
p
d
Runic Tags:
#sed
#creational
#factory-method