Foundations

What is Abstract Factory?

A factory that creates families of related objects without naming concrete classes at the call site.

one family · button, card, input

Finish the sentencePrompthaus

Abstract factory creates…

Practice this term

Write it in your own words in the app.

In real work

Abstract factory: ThemeFactory returns matching Button, Card, and Input styles for light or dark mode.

In the illustration

The DARK die set stamps a button, a card and an input that all match; the set flips to LIGHT and the next stroke stamps a full light trio, never a mixed one.

Use it in a prompt

Introduce an abstract factory in your coding agent for the theme system so light and dark each produce a matching button, card and input without the call site naming a concrete class.

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

  1. 01Practice

    Make it stick

    One term a day, a short quiz, and sentence practice that checks your own words.

    Get the app →

  2. 02Verify

    Prove you know it

    Pass the quiz and keep it in a Skills Wallet you can share with anyone who needs proof.

    How verification works →

  3. 03Career

    Find the work that uses it

    See which roles lean on this vocabulary, and what they pay in year one.

    All career pathways →

Learn the next term tomorrow.

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

Markdown for agents