🕰️ SIMULA GENESIS DIFFICULTY: Adept Behavioral

The Command Incantation in Simula

Encapsulating a ritual as a First Object to be invoked at a later time.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Command
ARCANUM SCHOOL: Enchantment // Invocation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// SIMULA PATTERN //
Begin
    Class Command;
    Virtual: Procedure Execute;
    Begin
    End;

    Command Class ConcreteCommand(recv); Ref(Receiver) recv;
    Begin
        Procedure Execute;
        Begin
            recv.Action;
        End;
    End;
End;

A spell need not be cast the moment it is spoken. The Command pattern binds the invocation and its parameters into an artifact, allowing it to be delayed, queued, or even reversed in the currents of time.

Runic Tags: #simula #gof #behavioral #invocation