Foundations

What is Decorator?

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

Learn this term every day on iPhone.

One hand-written term. A real workplace example. Thirty seconds before your day gets loud.

In real work

Decorator: LoggingDecorator wraps HttpClient to log requests without editing the base client.

How is this different from Googling it?

Google gives a definition. Prompthaus pairs each term with how it shows up in standups, PRs, prompts, and design reviews—then quizzes you until the word sticks. One term a day on iPhone.