The Abstract Factory Pattern
A polite necromantic guide to the Abstract Factory pattern in INTERCAL.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Necromancy // Fleshweaving
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
PLEASE DO STASH .CORPSE
DO .CORPSE <- #1
PLEASE COME FROM (10)
(10) DO IGNORE .ARM
PLEASE DO RETRIEVE .CORPSE
The Abstract Factory Pattern
In polite necromancy, Abstract Factory 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 Abstract Factory pattern ensures your undead entities are grouped and constructed with the utmost courtesy.
Runic Tags:
#intercal
#abstract-factory