Saying What, Not How
Imagine hiring an architect to design your dream house. You would not say, 'First draw a rectangle on paper, then add a triangle on top for the roof, then draw squares for windows.' You would say, 'I want a three-bedroom house with big windows, an open kitchen, and a porch facing the backyard.' You describe what you want — the outcome — and let the expert figure out how to get there. Prompting an AI to build something works the same way. The AI is the expert at code, structure, and technique. Your job is to tell it what you need, not to walk it through every step.
Outcome Language vs. Process Language
Process language tells the AI what to do step by step: 'First create a variable called score. Then write a function called addPoints. Then...' This sounds precise, but it actually makes your prompt worse. You are now responsible for every technical decision, and you are probably missing dozens of details the AI would have handled better on its own. Outcome language describes what the finished thing should do or be: 'I need a score tracker that starts at zero, adds 10 points when the player presses the spacebar, and displays the current score in the top-right corner of the screen.' Notice the difference. The outcome version says nothing about variable names, function names, or file structure. It does not need to. The AI handles those. You handle what matters: what the finished thing should do for the user.
Describe the outcome — what the finished artifact should do or look like. Let the AI choose the method. You are the product manager; the AI is the engineer. Product managers write requirements, not code reviews.
Here is a side-by-side comparison on the same task — a button that changes color when clicked: Process prompt: 'Add a click event listener to the button. In the listener function, check if the button's class includes blue. If it does, remove blue and add red. Otherwise remove red and add blue.' Outcome prompt: 'Make the button toggle between blue and red each time it is clicked.' Both prompts could produce the same code. But the outcome prompt is shorter, clearer, and leaves room for the AI to choose a cleaner implementation. The process prompt locks you into a specific technique that may not even be the best one — and if you got any detail wrong, the AI follows your wrong instructions precisely.
When Process Language Is Useful
Process language is not always wrong. There are two situations where specifying the how makes sense: 1. You have a strong technical reason. If a project must use a specific library, structure, or API because other code depends on it, say so. 'Use the Fetch API, not Axios' is a meaningful constraint, not micromanagement. 2. You are correcting something. If the AI built the feature wrong, you sometimes need to say how to fix it: 'Instead of removing the element, hide it with CSS so it can be shown again later.' That is process language in service of a specific correction. Outside those cases, stay in outcome language. You will get better results faster.
A common mistake is writing prompts that look like rough code: 'Loop through the list, for each item check if it matches, if yes return it.' This is pseudo-code, not an outcome. It forces the AI into your mental model — which may not be the best model — and leaves no room for a smarter approach.
Match each prompt type to its correct description.
Terms
Definitions
Drag terms onto their definitions, or click a term then click a definition to match.
Why is outcome language generally better than process language in a build prompt?
Which prompt uses outcome language correctly?
Translate the Process Prompt
- Step 1: Read this process prompt: 'Create a div. Give it an id of popup. Set its display style to none. Write a function called showPopup that sets the display to block. Add a click listener to the button that calls showPopup.'
- Step 2: Rewrite it entirely in outcome language — describe what the user experiences, not the code steps.
- Step 3: Check your rewrite: does it mention any variable names, function names, or CSS properties? If yes, remove them unless they are genuinely necessary constraints.
- Step 4: Share your outcome prompt with a classmate and discuss: does it give the AI enough information to build the feature?