Does switching an agent-edited backend to stricter static types actually cut AI bug rates in production?
Reading Not Slop: Haskell in the Age of AI and Laravel Rust on Hacker News today got our team debating our stack choices for agent-assisted development.
In our TypeScript (strict: false) and Python services, coding agents frequently introduce subtle bugs: passing None where a helper expects a str, renaming a dict key in one file while leaving three callers broken, or mixing up ID string types.
Before we invest in cranking up mypy --strict / tsconfig strictNullChecks (or moving hot services to Rust/Go), how much does a tight compiler loop actually improve AI coding-agent accuracy in real projects?