← Brakes: coding with AI agents

Brakes: coding with AI agents · Intro

When best practices slow you down

· by Tony Tang

Four ports, ten adapters and contract tests, for a script you deleted on Monday. Brakes cost time and pay back only when code lives long. But prototypes ship, and five years later nobody dares touch them. AI made rewriting cheap: prototype with no brakes, let the mess show you where the ports belong, then throw it away and rebuild with every brake on. Brakes are for roads you'll drive again.

Comment below: Which brake would you add first?

Brakes: a series on the checks that let an AI coding agent go fast without shipping bugs. Every best practice shortens the time between writing a bug and finding it. Brakes are why race cars go fast. All code is real TypeScript on Node 24, typechecked and tested before it went on screen.

More from this series