Skip to content

Chapter 14: Developer Experience

A library, a command-line tool, or a coding agent succeeds only when a person can predict what it will do, check that it did it, and correct it when it did not. Developer experience is the name for that loop. This chapter studies it through published interfaces and runnable examples, not through opinion.

Concepts from other sections (3)

This section uses these ideas. Each has a short definition and a link to the section that explains it in full. Tap a dotted term in the text to preview it.

The chapter has two halves. The first studies how people review work that a tool or an agent did for them: which evidence they need, where it should sit, and how a correction reaches the right target. The second studies how people learn an API: a runnable example beside its source, one value to change, and a signature that tells the caller what can fail.

Learning objectives

  • Name the evidence a reviewer needs before accepting an agent’s change: the target, the change, and the check that supports it.
  • Distinguish a proposed change from an applied one, and tie an undo action to one specific change.
  • Design a first example that a reader can run, change in one place, and verify by its output.
  • Judge an interface by the work it leaves to its callers, not by the size of its signature.
  • Make each intermediate value in a pipeline inspectable, including the exact request sent to a model.

Read The Pragmatic Programmer and Documentation Writing first. The examples use Go, Rust, jq, and uv. Each example states its expected output, so you can read the chapter without running them.

SectionQuestion it answers
Reviewing an agent’s workWhat does a reviewer need to see to accept, reject, or steer a change?
Learning an API by editing itHow does an example move a reader from “it runs” to “I changed it and know why”?
Small interfaces that do real workHow do a signature and its errors teach the caller what to do?
Inspecting a pipeline into a modelHow do you see what a model actually received?