r/programming • • Oct 07 '26

[ Removed by moderator ]

https://youtu.be/KsEpW03gxKg?is=OdU0YTE8dWIyRr8i

[removed] — view removed post

408 Upvotes

313 comments sorted by

View all comments

Show parent comment

3

u/about0 Oct 07 '26

Indeed, which makes the whole AI doom narrative a little odd, don't you think?

We are getting back to the question "How to build reliable production software with LLM?". I can't think of anything, but to make the flow as small and stupid as possible - split the task to subtasks, prompt what you want to get in return and review all the changes it makes.

We can't pass the whole mental model we have to LLM, requirements never complete, words have many meanings, and LLMs are stochastic.

3

u/remy_porter Oct 07 '26

I do think it's really odd. But I think the reality is that as a society we have no idea how to write software. So a machine that can produce more-or-less usable software with some simple prompts seems like magic. That the resulting software is garbage is its own set of problems.

What's funny is we track AI spend, and despite being the least AI positive person, I spend the most tokens easily. But that's because I tend to do things like use it as a "smart refactoring tool"- "grab this functionality that's spaghetti coded into the middle of this module (because it was all AI generated in the first place) and make it its own module". Or I do "hey, I want to see how this set of parameters changes behavior across this range, right a test sweep and report these metrics and how they change".

And then it's good at doing trivial tasks, like "add this button to this screen and wire it up to this message sink". It probably takes it longer to actually do than it would take me, but it's less cognitive overhead for tedious shit. Though ideally I'd just have higher level abstractions for talking about that stuff.