The Abstract Factory Ward
Forging related artifacts safely across concurrent dimensions.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Conjuration // Artifice Wards
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// PONY PATTERN //
trait val AbstractFactory
fun create_weapon(): Weapon val
fun create_armor(): Armor val
class val ElvenFactory is AbstractFactory
fun create_weapon(): Weapon val => ElvenWeapon
fun create_armor(): Armor val => ElvenArmor
The Abstract Factory Ward
In the strict, lockless realms of Pony, the Abstract Factory acts as an immutable forge (val). Once cast, its blueprints cannot be tainted by concurrent invocations, ensuring perfectly woven artifact families across actor boundaries.
Runic Tags:
#pony
#abstract-factory
#actor-model