Decorator Pattern
The Decorator pattern is a structural design pattern that attaches additional responsibilities to an object dynamically by wrapping it in one or more decorator objects that share the same interface as the original.
6 resources across 4 libraries
Glossary Terms(2)
Decorator Pattern
The Decorator pattern is a structural design pattern that attaches additional responsibilities to an object dynamically by wrapping it in one or more decorator…
Adapter Pattern
The Adapter pattern is a structural design pattern that converts the interface of one class into another interface that clients expect, allowing otherwise inco…
Study Notes(1)
Cheat Sheets(1)
Interview Questions(2)
What is the Decorator Pattern?
The Decorator pattern attaches additional responsibilities to an object dynamically by wrapping it in one or more decorator objects that share the same interfa…
Decorator vs Proxy Pattern
The Decorator pattern wraps an object to add new responsibilities or behavior on top of what it already does, while the Proxy pattern wraps an object to contro…