Foundations

What is Encapsulate What Varies?

Pull the parts of your code that change into their own modules. Leave the stable parts alone.

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

Encapsulate what varies: we pulled payment providers into their own module so adding Stripe does not touch checkout UI.

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.