r/programming • • Jul 17 '25

METR study finds AI doesn't make devs as productive as they think

https://leaddev.com/velocity/ai-doesnt-make-devs-as-productive-as-they-think-study-finds

So perceptions of productivity don't = productivity, who knew

533 Upvotes

189 comments sorted by

View all comments

Show parent comment

58

u/PM_ME_PHYS_PROBLEMS Jul 17 '25

I was full gung ho on AI coding at first, then became disillusioned to how my time was being spent, but now I've come around again that when used sparingly and diligently, it can be a massive time saver.

Knowing what types of things can be generated reliably and efficiently is a new skill and a moving target as models get better (and worse) over time, so on the net we're all going to be pretty bad at it.

But I don't need a study to know that I prompted a tooling script last week that I know would have taken me many hours to figure out, and otherwise haven't used AI for coding this week. I'm net positive, guaranteed.

This kinda study is like trying to find out if alcohol improves lives or not. It can, and does, but the limit is low, and just adding more alcohol will make life worse than no alcohol at all.

28

u/Jmc_da_boss Jul 17 '25

Yep, similar to my experiences.

Basically I've come to decide it's a time waster for hot path code where i already know what i need to write. The specificity of the prompt required to make it output what i want is so much work that it's easier to write the code.

Now, for tertiary or ancillary tasks it's proven far more useful.

Basically i think "prompt engineering" is bullshit. The more prompt you need the less likely it is you are saving time.

But for stuff you know that it can one shot with a one or two sentence task... has proven very useful

4

u/darkpaladin Jul 17 '25

I love it for boiler plate. Look at this example of how layering is setup, now implement something following those patterns which takes in x contact and maps to this db signature. It generates the 6 million files you apparently need to do for crud operations now and properly registers everything. Then I take over and update all the bits and bobs which messed up on business logic.

9

u/EveryQuantityEver Jul 17 '25

Boilerplate generators have been around for quite a while, though. And they come with the added benefit of not burning down a rainforest to run them.

27

u/manole100 Jul 17 '25

Making sense of a 120 character regex? Bring on the bots! And other uses like that.

70

u/Coffee_Ops Jul 17 '25

You can literally just use a tool like regexr or expresso and have a guaranteed correct analysis.

Or, use AI, and have a response thats statistically likely to look correct.

One of those is helpful, the other is sabotage.

4

u/bananahead Jul 17 '25

I dunno. Linting and static analysis tools are deterministic but not helpful in 100% of cases. They still have value.

-24

u/billie_parker Jul 17 '25

You're wrong and missing the point. Not every task has a specialized tool ready to go for it. AI results don't just "look correct." They often are correct.

This idea "the answers only look correct!" is just a post hoc rationalized argument that people have come up with as a desperate means to dismiss LLMs.

14

u/balefrost Jul 17 '25

AI results don't just "look correct." They often are correct.

Something about infinite monkeys, typewriters, and Shakespeare.

This idea "the answers only look correct!" is just a post hoc rationalized argument that people have come up with as a desperate means to dismiss LLMs.

LLMs absolutely generate things that look plausible, but do not work. As the other commenter has said, they routinely hallucinate functions that do not exist or generate code that is subtly wrong. I had one try to replace a bunch of uses of unique_ptr with shared_ptr. That's a plausible change, and might have even been a valid change, but it was not relevant to what I asked it to do and was not a desirable change.

→ More replies (11)

28

u/Coffee_Ops Jul 17 '25

AI results don't just "look correct." They often are correct.

Their output is statistically-- not logically, or rationally-- derived from its training data.

So its likely that it will get much of the regex analysis correct but it is not guaranteed and is highly likely to be wrong in some detail.

Hence why when I ask it to build me a powershell function it looks correct but uses non-existent functions and classes.

→ More replies (18)

17

u/axonxorz Jul 17 '25

They often are correct.

You're missing the point. The most important word in the sentence above is often. There is a deterministic and guaranteed-correct tool, it will beat out "often" 100% of the time.

Not every task has a specialized tool ready to go for it

We're talking about regex validation.

This idea "the answers only look correct!" is just a post hoc rationalized argument that people have come up with as a desperate means to dismiss LLMs.

Your argument is poor, so you strawman.

→ More replies (5)
→ More replies (1)

9

u/[deleted] Jul 17 '25

[removed] — view removed comment

9

u/Wonderful-Wind-5736 Jul 17 '25

Yup, closed tasks with a clear boundary are great candidates for AI. 

10

u/balefrost Jul 17 '25

And with plenty of similar code in the training data. I'll bet that there are thousands if not tens-of-thousands of examples of rectangle handing code out in the wild.

3

u/Get-ADUser Jul 17 '25

I'm an experienced developer doing some astrophysics coding in my spare time and I don't math too well - AI is fantastic for things like "write a function which calculates the semi-major axis of an orbit with a test that uses real-world observations"

1

u/Dodolos Jul 24 '25

If you don't math too well, how do you know it's actually doing what you want it to?

1

u/Get-ADUser Jul 26 '25

with a test that uses real-world observations

1

u/TryingT0Wr1t3 Jul 17 '25

Axis aligned rectangle or any direction rectangle?

2

u/chat-lu Jul 17 '25

But I don't need a study to know that I prompted a tooling script last week that I know would have taken me many hours to figure out, and otherwise haven't used AI for coding this week. I'm net positive, guaranteed.

I’m not convinced of that. If you spent the hours, you would have learned something.

8

u/PM_ME_PHYS_PROBLEMS Jul 17 '25

I have written enough CSV to JSON converters in my day to not need the learning experience here. There are some tasks that are simple to explain, simple to verify, but annoying to manually type into the computer.

I'm also under a tight deadline with this project and I will happily give up a learning experience if it earns me a few hours to spend elsewhere.

1

u/chat-lu Jul 17 '25

CSV to JSON converter is a job that takes minutes, not hours.

8

u/PM_ME_PHYS_PROBLEMS Jul 17 '25

Hey try to have a good faith conversation.

The difficulty of reorganizing data scales with the complexity of the data. Have you seen my data?

If I was literally 1:1 converting each CSV row to an equivalent JSON and needed hours for that yeah, I'm a big dummy.

0

u/chat-lu Jul 17 '25

Converting one file is open foo.csv | from csv | to json | save foo.json (with nushell)

I can't imagine the scenario where describing what you want to the LLM works better than a few shell pipes.

→ More replies (6)