✨ ARCANUM RUNE DIFFICULTY: Adept Creational

The Singleton Pattern

A polite necromantic guide to the Singleton pattern in INTERCAL.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Singleton
ARCANUM SCHOOL: Necromancy // Lichdom
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
PLEASE DO STASH .LICH
DO .LICH <- #5
PLEASE COME FROM (14)
(14) DO IGNORE .MORTAL
PLEASE DO RETRIEVE .LICH

The Singleton Pattern

In polite necromancy, Singleton 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 Singleton pattern ensures there is only one absolute Lich controlling the realm, instantiated with the utmost courtesy.

Runic Tags: #intercal #singleton