Composite Pattern / Type Safety
Kind: tension
Record: tension:composite-pattern-type-safety
Canonical: Schema
"composite-pattern" (design-patterns-core layer) is traded against "Type Safety" (contracts-core layer) — a principle cannot be scope-separated from a quality, metric, or cost it competes with; resolve by measuring "Type Safety" and choosing an explicit operating point.
Listed in Tensions, after Decorator Pattern / Stack Debugging and before Flyweight Pattern / Complexity.