decorator-ordering-matters

Status: IN

Decorator ordering affects behavior: BorderDecorator(ScrollDecorator(x)) produces different results than ScrollDecorator(BorderDecorator(x)) because each decorator wraps and extends the one beneath it.

Source: entries/2026/06/17/gof-oo-chunk-13.md

Depended on by

JSON