runtime-dynamism-grounds-composition-advantage

Status: IN

The fundamental divergence between compile-time class hierarchies and runtime object networks explains composition's superiority: composition operates at runtime where the actual program structure lives, while inheritance is frozen at compile-time where only the static skeleton exists.

Justifications

Runtime/compile-time gap directly motivates preferring composition over inheritance

Depends on (SL): run-time-vs-compile-time-structure-differ, inheritance-compile-time-composition-run-time

Depended on by

JSON