3 ms·
but also the next sentence: > ...The important aspect of this pattern is that it lets decorators appear anywhere a VisualComponent can. That way clients genera
by berkes 1y ago
but also the next sentence:
> ...The important aspect of this pattern is that it lets decorators appear anywhere a VisualComponent can. That way clients generally can't tell the difference between a decorated component and an undecorated one, and so they don't depend at all on the decoration.
and further on:
> The decorator conforms to the interface of the component it decorates so that its presence is transparent to the component's clients.