{"id":"decorator-avoids-inheritance-explosion","text":"The Decorator pattern avoids the class explosion problem that arises from using inheritance to combine embellishments, where every combination of embellishments would require its own subclass","truth_value":"IN","source":"entries/2026/06/17/gof-oo-chunk-5.md","source_url":"","source_hash":"","justifications":[],"dependents":["bridge-decorator-dual-explosion-prevention","decorator-proves-composition-scalability"],"metadata":{"last_premise_reviewed":"2026-06-17T18:19:22","premise_review_result":"pass"},"created_at":"2026-06-17T17:04:08+00:00","updated_at":"2026-06-17T17:04:08+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"decorator-avoids-inheritance-explosion","truth_value":"IN","reason":"premise"}]}}