What is Decorator?
Adds behavior by wrapping an object in layers. Each wrapper adds one concern without changing the core type.

wrapped · every request logged
Decorator adds behavior by…
Write it in your own words in the app.
In real work
Decorator: LoggingDecorator wraps HttpClient to log requests without editing the base client.
In the illustration
Request pellets flow through the bare pipe; a logging sleeve clamps around it and its counter ticks once per pellet, while the pipe inside is never cut.
Add request logging and retries to the API client in your coding agent as two decorator layers around the base client, so either can be removed without editing the client.
Try it now
The fastest way to learn a word is to use it. Open this line in the agent you already work in and watch what it does. Change the tool to the one you use.
Go further
01Practice
Make it stick
One term a day, a short quiz, and sentence practice that checks your own words.
02Verify
Prove you know it
Pass the quiz and keep it in a Skills Wallet you can share with anyone who needs proof.
03Career
Find the work that uses it
See which roles lean on this vocabulary, and what they pay in year one.





