Enforce specs in code, not inference: a dev's two checks for AI coding

gerardsans · x · 2026-11-29

gerardsans offers two checks for AI-assisted coding: if your specs live only in the AI context, they become a guess with variable performance — enforce specs and the control plane in code, not inference. And if your specs are larger than your code, it's time for a different approach. He adds that pure functions with clear invariants work fine, but functions with uncontrolled side effects don't, and more context fed to an AI means worse performance.

Original post →

More from coding & agent

coding & agent channel →