Live data from Hacker News

Ask HN: Developers – Do you let agents write production code?

news.ycombinator.com

1–10 of 10 posts

Ask HN: Developers – Do you let agents write production code?

#1
I know 2 good developers, let's call them Bob and Bill.

Bob does not write code anymore, he orchestrates agents. Says it makes him faster. That the level of slop is the same as with humans. He swears by it.

Bill only uses agents to write tests and do code review. He says even a Fable 5.1 will create 1,000 line slop instead of his 10 line fix. He swears by it.

Both Bob & Bill are both credible developers that have lots of experience at building real things, including at Google.

Do agents still produce slop? Does the 10x engineer really exist? What is your position?

Re: Ask HN: Developers – Do you let agents write production code?

#3
Never unattended without a human reading the output. It does not matter about what company they have been to.

The skill of reviewing requires experience and competency in the technology. It will require critically thinking around why the agent chose a technology over another and what the "definition of fixed" not workarounds means by the experienced human.

Whether if it is a big name company or a lesser named company is irrelevant.

> Do agents still produce slop?

Yes.

> Does the 10x engineer really exist?

Yes. They do not care about what company they join. They might even build their own company rather than join anyone else and they do not care about titles. (Which is all made up).

Re: Ask HN: Developers – Do you let agents write production code?

#4
Production code should never depend on the attention of "the oldest guy in the office". We used to have methods not to break stuff: extensive automated testing, monitoring, QA, canary deployments, A/B testing. And, ultimately, a rollback plan. Building production-grade application should not be a one-man (or one-agent) job. Back in the pre-AI era software also used to break when you did not have proper testing and release processes.

Re: Ask HN: Developers – Do you let agents write production code?

#6
10x code is mostly overrated. The first goal of any code is to solve a problem for the customer/business and solve it fast enough. The second goal is to make it efficient/repeatable etc as needed. But if you never meet the first goal, the 2nd goal is moot. So, based on how real world works, Bob is going to be a lot more valuable to any company unless you are building something that is very core to the machine (like an OS etc). Then, may be Bill.

Re: Ask HN: Developers – Do you let agents write production code?

#7
I let AI write unit tests, PR summaries, documentation, UIs for internal use, and some production code. I review the code that goes in production, mostly to refactor and simplify, or just to make sure the code is understandable at a glance by a human.

My goal is to avoid tech debt, and to actually own the code. If you don’t review, you don’t own the code, and this eventually can come back and bite you in the rear.

Re: Ask HN: Developers – Do you let agents write production code?

#8
post #6

10x code is mostly overrated. The first goal of any code is to solve a problem for the customer/business and solve it fast enough. The second goal is to make it efficient/repeatable etc as needed. But if you never meet the first goal, the 2nd goal is moot. So, based on how real world works, Bob is going to be a lot more valuable to any company unless you are building something that is very core to the machine (like a…

Absolutely. But in the end the senior dev has to understand the code, review the code and publish it as "his/her" code. So, that is the level of commitment I would see...

Re: Ask HN: Developers – Do you let agents write production code?

#10
Fun fact, the original paper about "10x" developers found that some programmers had an order of magnitude better performing code, not 10x the amount of code or features.

The 2 metrics used were CPU time in executing the software they wrote for the paper, and debugging time.

The original concept of 10x developer is one who writes code that performs 10x better and is 10x easier to maintain.