In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an existing object dynamically.
Read more about Decorator Pattern: Introduction, Motivation
Famous quotes containing the word pattern:
“It is a very true and expressive phrase, He looked daggers at me, for the first pattern and prototype of all daggers must have been a glance of the eye.... It is wonderful how we get about the streets without being wounded by these delicate and glancing weapons, a man can so nimbly whip out his rapier, or without being noticed carry it unsheathed. Yet it is rare that one gets seriously looked at.”
—Henry David Thoreau (18171862)
Related Phrases
Related Words