AI CompendiumA public chart of the language
Home / Patterns of Work / Prototyping
Patterns of Work

Prototyping

also called Spike, Throwaway code

Build the cheapest thing that answers the question.

Definition

Producing a rough artifact to test an idea or resolve uncertainty, explicitly not meant to be kept. AI tooling makes this dramatically faster, which is one of its clearest wins.

The discipline is labelling the output as throwaway and actually throwing it away. Prototypes that quietly become production are how you inherit code nobody understands.

The discipline that keeps prototyping honest is deciding up front that it will be thrown away, and saying so. Generated code makes direction changes cheap, which is a genuine strategic advantage — as long as the prototype is not quietly promoted into the maintenance surface.

How people use it
Evaluating three approaches.
"Three prototypes in an afternoon, pick one on evidence, then build the real thing properly."
Worked example

Three sketches instead of one plan

A UI approach is unclear and a decision is needed.

Build all three roughly, look at them, discard two. The cost is now hours rather than weeks, and the decision is made on evidence instead of on the quality of the diagram.

Sources
Related terms