The Bridge Over DLL Hell
Separating an abstraction from its implementation to evade versioning doom.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Bridge
ARCANUM SCHOOL: Transmutation // Decoupling
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// VB PATTERN //
' IImplementor.cls
Public Sub InvokeDarkness()
End Sub
' Vb6Implementor.cls
Implements IImplementor
Private Sub IImplementor_InvokeDarkness()
' Specific dark rites
End Sub
' Abstraction.cls
Public imp As IImplementor
Public Sub Operation()
On Error Resume Next
imp.InvokeDarkness
End Sub
The Bridge pattern saves an Adept from the tangled web of DLL Hell by separating the logical abstraction from the volatile COM implementation, allowing them to vary independently without breaking binary compatibility.
Runic Tags:
#bridge
#dll-hell
#decoupling