Live data from Hacker News

Survey: a third of senior developers say over half their code is AI-generated

fastly.com

61–70 of 388 posts

Re: Survey: a third of senior developers say over half their code is AI-generated

#63
This article goes completely against my experience so far.

I teach at an internship program and the main problem with interns since 2023 has been their over reliance on AI tools. I feel like I have to teach them to stop using AI for everything and think through the problem so that they don't get stuck.

Meanwhile many of the seniors around me are stuck in their ways, refusing to adopt interactive debuggers to replace their printf() debug habits, let alone AI tooling...

Re: Survey: a third of senior developers say over half their code is AI-generated

#64

I looked at our anthropic bill this week. Saw that one of our best engineers was spending $300/day on Claude. Leadership was psyched about it.

Claude is making $72k a year for a consistent $300/day spend.

Bear in mind those are revenue figures, they're costing claude hundreds a day.

One imagines Leadership won't be so pleased after the inevitably price hike (which, given the margins software uses, is going to be in the 1-3 thousands a day) and the hype wears off enough for them to realize they're spending a full salary automating a partial FTE.

Re: Survey: a third of senior developers say over half their code is AI-generated

#65
Seems about right for me (older developer at a big tech company). But we need to define what it means that the code is AI-generated. In my case, I typically know how I want the code to look like, and I'm writing a prompt to tell the agent to do it. The AI doesn't solve any problem, it just does the typing and helps with syntax. I'm not even sure I'm ultimately more productive.

Re: Survey: a third of senior developers say over half their code is AI-generated

#66
post #63

This article goes completely against my experience so far. I teach at an internship program and the main problem with interns since 2023 has been their over reliance on AI tools. I feel like I have to teach them to stop using AI for everything and think through the problem so that they don't get stuck. Meanwhile many of the seniors around me are stuck in their ways, refusing to adopt interactive debuggers to replace…

> Meanwhile many of the seniors around me are stuck in their ways, refusing to adopt interactive debuggers to replace their printf() debug habits, let alone AI tooling...

When I was new to the business, I used interactive debugging a lot. The more experienced I got, the less I used it. printf() is surprisingly useful, especially if you upgrade it a little bit to a log-level aware framework. Then you can leave your debugging lines in the code and switch it on or off with loglevel = TRACE or INFO, something like that.

Re: Survey: a third of senior developers say over half their code is AI-generated

#67
post #47

I wouldn't say I'm old, but I suddenly fell into the coding agent rabbit hole when I had to write some Python automations against Google APIs. Found myself having 3-4 different sites open for documentation, context switching between 3 different libraries. It was a lot to take in. So I said, why not give AI a whirl. It helped me a lot! And since then I have published at least 6 different projects with the help of AI.…

I love the split personality vibe here.

Or perhaps the commenter just aged a lot while writing the post.

Re: Survey: a third of senior developers say over half their code is AI-generated

#68

Earlier quoted context omitted.

> If I … generate fairly exhaustive unit tests of a trivial function … then you are not a senior software engineer

Neither are you if that's your understanding of a senior engineer

I think the parent commentors point was that it is nearly trivial to generate variations on unit tests in most (if not all) unit test frameworks. For example:

Java: https://docs.parasoft.com/display/JTEST20232/Creating+a+Para...

C# (nunit, but xunit has this too): https://docs.nunit.org/articles/nunit/technical-notes/usage/...

Python: https://docs.pytest.org/en/stable/example/parametrize.html

cpp: https://google.github.io/googletest/advanced.html

A belief that the ability of LLMs to generate parameterizations is intrinsically helpful to a degree which cannot be trivially achieved in most mainstream programming languages/test frameworks may be an indicator that an individual has not achieved a substantial depth of experience.

Re: Survey: a third of senior developers say over half their code is AI-generated

#70
So how many developers in that survey are those?

They surveyed 791 developers (:D) and "a third of senior developers" do that. That's... generiously, what... 20 people?

It's amazing how everyone can massage numbers when they're trying to sell something.

Post reply on HN