The Builder
Constructing monolithic memory slabs word by word in the primordial soup.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Builder
ARCANUM SCHOOL: Transmutation // Architecture
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// B PATTERN //
/* A raw slab of memory waiting to be carved */
ext golem_slab[10];
set_head(val) {
golem_slab[0] = val;
}
set_arms(left, right) {
golem_slab[1] = left;
golem_slab[2] = right;
}
set_core(energy) {
golem_slab[3] = energy;
}
/* The Director sequence */
build_war_golem() {
set_head('IRON');
set_arms('BLAD', 'BLAD');
set_core(9999);
return golem_slab;
}
Runic Tags:
#b
#design-pattern
#precursor
#bell-labs-magic
#untyped