The Sarcophagus Pattern
I’d just like to thank my colleagues Bill and Tom for defining this new pattern:
Sarcophagus Pattern
biblioteca uvt
tac de biliard
macaroane cu branza dulce
cursuri de calificare acreditate
pret carburant petrom
tehnici de cercetare sociologica
cerere certificat atestare fiscala
concertul rbd in romania
consumul de energie
www deratizare
karma destin
dimensiune poze
drumuri si poduri timisoara
retim ecologic service
piata energiei
lada frigorifica 12 v
terra gaz
depozit materiale constructii
laboratoare foto
culoare pereti
prevenirea poluarii
referat despre stres
tavan gips
durata de viata
Intent
Provide a unified interface to a preserved, unspeakable horror that cannot be purged for sentimental or compatibility reasons. Sarcophagus is similar to Facade, but carries the implication that the box should only be opened in the presence of police, necromancers, or others familiar with the dealing with dead things.
Sarcophagus defines a higher-level interface that prevents the contents of the tomb from eating the brains of living. This can be used to simplify a number of despicable interactions and nightmarish dependencies into a single interface.
See also
Facade Pattern, Mediator Pattern, Adapter Pattern
Origins
Inspired by Tom during discussions of [removed to protect the authors]. Defined by Bill.
From the “Online Etymology Dictionary”: sarcophagus
“stone coffin,” 1601, from L. sarcophagus, from Gk. sarkophagos “limestone used for coffins,” lit. “flesh-eating,” in reference to the supposed action of this type of limestone (quarried near Assos in Troas) in quickly decomposing the body, from sarx (gen. sarkos) “flesh” (see sarcasm) + phagein “to eat” (see -phagous). The stone sense was the earliest in Eng,; meaning “stone coffin, often with inscriptions or decorative carvings” is recorded from 1705. The L. word, shortened in V.L. to *sarcus, is the source of Fr. cercueil, Ger. Sarg “coffin,” Du. zerk “tombstone.”
Tags: humor, methodology, patterns, software engineering