1 article
The decorator pattern adds behaviour to objects at runtime by wrapping them in decorator classes — more flexible than static inheritance, illustrated with composable pizza toppings.