Sub topic 13
Worked Examples in Writing, Design, and Software
Assume you already know how to frame an open-ended problem and can try short exercises. This chapter shows how to apply constraints in three different fields. In each example, the constraint narrows the search without deciding the answer for you.
A useful cycle is:
- State the problem.
- Choose one or two constraints.
- Generate several options quickly.
- Review what the constraints improved or damaged.
- Keep, change, or remove the constraints.
Writing: change the form
Suppose you need to explain a complex project to a busy manager. The open task, “Write an explanation,” is too broad. You might spend most of your time deciding how to begin.
Add a form constraint: write the explanation as five sentences.
Then add a reader constraint: each sentence must answer one question:
- What happened?
- Why does it matter?
- What evidence supports it?
- What decision is needed?
- What happens next?
This structure gives you a starting point and prevents unnecessary background. After writing the five sentences, you can expand them into a longer report if needed.
The constraint is productive because it supports the purpose of the writing. It would become obstructive if the topic required detailed evidence that could not fit into five sentences. In that case, use the five-sentence version as an executive summary rather than the complete document.
Design: limit the materials
Imagine designing a mobile screen for a service that helps people book appointments. A broad task might produce attractive but unrelated layouts. Use a resource constraint: design the screen with only grayscale, one typeface, and three interface components.
The limited materials force you to focus on hierarchy. You must decide which information deserves the most visual attention. You also learn whether the screen works without decoration.
A possible sequence is:
- Sketch six layouts in ten minutes.
- Use the same three components in every layout.
- Select the two clearest sketches.
- Add color and extra components only after testing the basic structure.
This constraint does not mean the final product must remain grayscale. It creates a temporary test environment. If users cannot find the appointment time, adding color will not solve the underlying hierarchy problem.
Software: generate options under rules
Software design benefits from constraints because implementation choices can otherwise multiply quickly. Suppose you need ideas for onboarding a new teammate. Ask for three ideas, but apply a different constraint to each idea.
import random
def constrained_ideas(problem, constraints, count=3):
"""Pair a problem with randomly chosen constraints."""
picks = random.sample(constraints, k=min(count, len(constraints)))
return [f"{problem} -- but {constraint}" for constraint in picks]
constraints = [
"it must cost nothing",
"it must fit on one page",
"it must be finished in ten minutes",
"it can use only what is already on your desk",
]
for prompt in constrained_ideas(
"Design a way to onboard a new teammate", constraints
):
print(prompt)The script does not create finished solutions. It creates prompts that change the search space. One prompt may lead to a checklist, another to a short screen recording, and another to a desk-based walkthrough.
For a real software task, use constraints that expose important trade-offs. Examples include “use the existing API,” “avoid a new dependency,” or “make the operation reversible.” Do not add rules merely to make the task difficult.
Compare and adjust
Record the result instead of relying on memory. A small review table can reveal whether a constraint helped.
| Field | Question |
|---|---|
| Constraint | What limit did you apply? |
| Output | How many options did you produce? |
| Benefit | What did the limit make easier? |
| Cost | What quality or flexibility did it reduce? |
| Next step | Keep, change, or remove the limit? |
If a constraint produces no useful change, replace it. If it produces variety but lowers quality, keep the constraint for idea generation and remove it during refinement. If several constraints leave no workable option, relax one constraint rather than abandoning the whole method.
The same pattern works across writing, design, and software. Start with a narrow experiment, inspect its effects, and treat the constraint as adjustable rather than permanent.
Exercise
You must design a short software tutorial. Choose one form constraint and one resource constraint, then explain what each might reveal.
Show answer
A form constraint could require a five-step tutorial, revealing the essential workflow. A resource constraint could allow only existing screenshots, revealing where the interface is unclear or undocumented.