AI Agents Want to Write Go(encore.dev)
encore.dev
AI Agents Want to Write Go
https://encore.dev/blog/golang-ai
5 comments
yeah totally. an example from the article is that when when you're reviewing 31 lines of business logic instead of 150 lines of boilerplate it's a lot easier to catch bad error handling or security issues - which kinda goes hand in hand with what you're saying.
A bit of prompting to ask it to not throw away errors and write TDD-style helps imo.
Yea, we all need to step up the abstraction ladder. I wrote about this here: https://kodare.net/2026/02/16/AI-readable-APIs.html
yeah we're seeing the same thing from the infrastructure side. small opinionated api surface means less code and you can actually read what the agent wrote.
I constantly find it outputting things that are wrong, not handling errors properly, or not worrying about security.