Skip to content

Comment on AI Agents Want to Write Go

Comments

I may be old school, but I still find it crazy that people just allow AI to write code. I use AI a lot when I'm coding, but I always ask, review the ouput then copy and paste what I actually need.

I constantly find it outputting things that are wrong, not handling errors properly, or not worrying about security.

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.