Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.79 KB

File metadata and controls

35 lines (28 loc) · 1.79 KB

Bridge — where it lives outside this repo

Cited, real implementations to study (or point an agent at) when designing or reviewing bridge-shaped code.

Python standard library

  • logging.Logger × logging.Handler. The logger is the abstraction callers hold; handlers are the interchangeable implementation hierarchy — one logger.info() call fans out to console, file, or syslog backends, and both sides grow independently. docs.python.org/3/library/logging.html

Major ecosystems

What to notice across all of them

The implementor interface is always narrow and stableHandler.emit, the backend canvas API, the dialect contract — while both sides multiply freely behind it. When reviewing bridge-shaped code, check which axis a new requirement lands on: if most changes touch both sides at once, the axes were drawn in the wrong place.