Hacker News new | ask | show | jobs
by zendist 18 days ago
AI definitely produces bad software, too.

It's up to the people involved in the process, to gatekeep AI to not *ship* bad software.

2 comments

> AI definitely produces bad software

Does your IDE of choice produce bad software?

This kind of take is so tiring. There's not even an argument, just a willful misrepresentation of the situation.
No, but it doesn't write domain logic either.
The plain text editor never produced any kind of logic, or any kind of text for that matter, beyond what was explicitly typed into it. We never said the IDE "does" X when it got auto-complete.
My IDE doesn't produce software
Exactly.
Then why is my IDE relevant to your point about LLMs, which definitely produce software?
There was a time when people had to walk around in a room flipping switches to create routines that were combined to produce software. Then there was creating and feeding punch cards or paper tape into machines. Go forward some more, and there was typing into a writer (couldn't even see what was being written!), and running through an assembler. And then there was the text editor, into which one typed (finally can actually see what's written so changes can be made) and saved, then switched to a terminal and ran a compiler (and maybe linker) on the thing saved. After that came the IDE which was not just the text editor with a "compile" menu option, but there was also a lot of templating and auto-complete and external libraries. Today there are coding agents bringing all this together even more with a few instructions.

Know what changes? The amount of human effort needed to produce increasingly sophisticated software keeps falling. And know what doesn't change? People are still inputting requirements into the machine, testing what comes out, and iterating until it works as they'd like it to. That's the software production process in a nutshell. Doesn't matter if it takes a few thousand iterations over many months, or a single iteration that takes a few hours. It's still people who actually produce software, not the IDE nor the LLM (both of course generate code to help in the production process).

> And know what doesn't change? People are still inputting requirements into the machine

Before LLMs, only incredibly few programs were written by "inputting requirements into the machine", most code was about inputting instructions that fulfill requirements. Usually code is/was related to the requirements, but for anything non-trivial it was almost never a direct translation of the requirements.

So as far as I can see, you're trying to gaslight here.

AI makes bad software like a saw makes bad furniture. The final result is never the tool's fault
Comparing AI to simple tools like a hammer or saw just isn’t right.

AI tools are complex systems that definitely can have agency, even though that is mostly human controlled. Bad controls = bad outcomes.

Yes, I totally agree that humans have the most control over them, but that doesn’t mean it’s completely off the hook.

If we really have to draw simplified real life comparisons, maybe a car or a gun would be more suitable “systems” that we can metaphorically compare AI to.

I agree that the tool shouldn't be at fault, but I refuse to take responsibility when managers force me to use it.
It's not really an apples-to-apples: you can ask an "AI" to build software to do a particular thing, and it will happily oblige and spend some of your money on it and produce something that actually runs.

You cannot just turn the saw on (if electric), point it at some wood and expect anything resembling furniture.

Comparing AI to a saw it's like admitting it's the same as an IDE. To some extent it is, it is more autonomous too though. It's more like a brain child robot with a saw and a grin on the face
Ai should randomly cut off people fingers occasionally as a polite reminder
But we’re being sold an “autonomous saw”. Who’s at fault here?
An "autonomous saw" still needs guidance; what's removed is - most of - the repetitive effort.
Not the saw that's being sold as "smarter" than all humanity and being said that it solves navier stokes.
At the end of the day, no matter how you put it, someone has to still actively ask for those solutions. When we get to the point that the saw decides to activate itself and go cutting stuff without being asked, then we can say the tool is actually doing stuff.
It's no more autonomous than a compiler, and a lot more random.
But it's hyper ultra super duper intelligent as far as marketing informs me. No one marketed a saw that way.
But it's not a tool, anymore than IKEA is a tool.