The GoF definition you’re referring to isn’t for the generic term “composition” (which predates “Design Patterns” significantly), but the “composite pattern”
Composition vs Composite Pattern
Eric Elliott

Nope. The definition I’m referring to is indeed for composition.

Chapter 1. Introduction
: Inheritance versus Composition

“Object composition is defined dynamically at run-time through objects acquiring references to other objects.”

Like what you read? Give Jeff M a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.