When not to use AI
AI assistants pay off when the round-trip is short: quick prompt, useful draft, easy to verify. The failure mode isn’t producing bad code — it’s producing plausible code the reviewer isn’t equipped to challenge, and you are the reviewer.
Recommended default
Section titled “Recommended default”Reach for an AI assistant when you can verify what it produces faster than you could have written it yourself. Close the tab when the verification is the hard part.
When to close the tab
Section titled “When to close the tab”- You can’t review the output. New domain, new library, new codebase — a confident wrong answer will look right. Learn the basics unaided, then let AI accelerate.
- The task is a keystroke, not a decision. Renames, extractions, find-and-replace — your editor does these faster than a prompt round-trip, with fewer surprises.
- You’d have to paste something you shouldn’t. Secrets, customer data, unreleased IP. If the only prompt that would work is the one you can’t send, the tool doesn’t fit the task.
- You need to build intuition, not skip past it. Debugging a subtle bug or learning a new tool — the wrestling is where the mental model comes from.
Why this is the default
Section titled “Why this is the default”Verification cost is the number that matters, not drafting cost. The same discipline that governs a code review — “can I confidently say this is safe to merge?” — is the one that gates reaching for the assistant in the first place.
The tradeoff: sometimes the assistant would have got there faster, verification included. You’ll notice, and can turn it back on for the next task. The default just says which cost to weigh first.
Common mistakes
Section titled “Common mistakes”- Prompting your way past a design gap. If the prompt has to spell out constraints because the design is unclear, the fix is the design.
- Skipping the learning. Efficient for this sprint, expensive by the quarter — the engineer who skips wrestling with the code loses the ability to change it later.
- Copy-pasting without reading. Even a good draft has a wrong import or an off-by-one waiting for you.