Lurker News
Genuine question.

Over the past six months, there hasn’t been a single day where I’ve checked the HN Best RSS feed without seeing a post about how AI “writes bad code,” “introduces bugs,” “creates technical debt,” or something along those lines.
I’ll probably make a lot of enemies by saying this, but do people realize that code is just a means to an end?
Users don’t care whether the code was written by AI or by hand, or which framework you used. They care that the product works.
I say this as someone who has spent more than 20 years honing their craft as a software engineer.
Let’s face it: by the time I manually ship version 1.0 of a product, the AI-assisted version could have been deployed 10x faster. By then, enough real-world feedback would have surfaced to identify the major issues, and tools like Claude Code would make it possible to fix and ship version 2.0 at an incredible pace.
At some point, execution speed starts to matter more than the elegance of the code.

Comments (765) 344 threads

Earlier comments
csbartus1 reply#
It's a gut feeling.

We _know_ LLMs can't be _that_ good as they are promoted.
I've spent the last 6 months creating a production grade app from scratch with Claude where I wrote no single line of code. I've reviewed code and it was looking good, almost completely following my templates, workflows, skills.
Now I've started to make minor manual updates and I'm horrified. Claude has no idea why there were those templates and instructions in place. It followed them blindly without grasping their spirit. The end result is like a very junior dev copy-pasting answers from Stack Overflow into the codebase. No consistency, chaotic application of different conventions, duplicated code, ghost code (does nothing), and perhaps more as I'm digging in.
The pros: The code works, all tests pass (43% code / 57% tests, 1:1.3 ratio), the UI looks good with visible glitches
The cons: I'll have to rewrite most of the code on the long run, make it fit, easy to maintain.
The verdict: I wouldn't started this project alone. Claude get me through to v0.1.0 / MVP where I've focused solely on the product: technologies, architecture, functionality, and usability. Now it's easier to refactor all for v0.2.0 manually without Claude.
So this might be our gut feeling: we know it's something good, but not as good as the stakeholders might promote. We know it helps in some ways but it's a nightmare in other ways.
We are not anti-AI but rather pragmatic: Not that AI enthusiasts we are expected to be.

hn_throw20252 replies#
> No consistency, chaotic application of different conventions, duplicated code, ghost code (does nothing), and perhaps more as I'm digging in.

I didn’t understand this part. You said you reviewed the code and it was looking good, so how did the cruft creep in? Were you reviewing every diff, or taking an occasional sample?

Izkata#
Reviewing is a very different mindset than writing it yourself. You don't have all the context you would have built up had you done it, and it's much much more difficult to think through all cases. So I'm thinking: The individual changes all looked good in isolation, and they started borderline rubber-stamping the changes without stepping back to think about the larger context.

Looking at the individual changes in isolation, it's harder to see it doesn't match other conventions, duplicates code, removes or disables paths without cleaning up, etc. I'll bet there's also some crazy spaghetti code in there, from helping a co-worker clean up their Ai-generated code that they didn't understand.

csbartus#
Good point! Reviewing code, in the AI era, in my practice, means skimming code and looking for patterns.

I use templates / conventions and make the AI generate code using them. When reviewing code I'm scanning if a file uses a specific template and follows specific conventions.
This can't catch subtle errors like a function is re-created vs is re-used (duplicate code), unnecessary code (bloat), inconsistent naming (a Button component has a cssRow() styling function associated vs cssButton()).
When you start editing, using code these little things add up, consume your attention, drain you up, giving no flow and resulting in minimal productivity.

space_explor#
Claude calls it enterprise and production ready. I now have to spend the next two days dealing with the fallout, page, outage.
zmmmmm1 reply#
I tend to agree with your overall point, but I think you reveal far more about yourself than you accurately reflect anything about HN. Just read back what you wrote:

> AI-assisted version could have been deployed 10x faster. By then, enough real-world feedback would have surfaced to identify the major issues
You want to ship major bugs to your users, let them find them, report them and fix them afterwards. You passively assume this is a good way to build software without even really questioning it.
Aside from some people just not liking this in principle, there are a lot of contexts where bugs cause actual harm and cost actual money. In some cases, "people dying" and "go to jail for it" type harm.

voidfunc5 replies#
If everyone does it and the majority of users are captured in ways that they wont or cant seek out alternatives then shipping bugs to users, letting them find amd report them and then fixing them is business-optimal.
hun3#
What keeps users themselves from vibe-coding their own software?

If you don't own quality, why should I pay? You're just a middleman at that point.

kranner#
It would potentially be more business-optimal to ship fewer bugs if everyone else is shipping more bugs. Your development cycle would be costlier, but users would prefer to buy your products over others.
fcatalan#
Skipping airplane maintenance is business-optimal for an airline. For a few months.
ares623#
Pathetic state of affairs that this is said with a straight face. Jesus Christ. Software engineers deserve every hate that's coming for us.
Planktonne#
"Business-optimal" is not the same as "optimal".
infinitebit#
> At some point, execution speed starts to matter more than the elegance of the code.

If this were true, shouldn’t most of the software we use be adding new features and fixing bugs at a faster rate, while becoming more stable?
Do you feel like that is happening? Do you have an example of an app (besides claude code or cursor etc) that you use that has seemed to improve more rapidly since the advent of agentic coding?

Load more comments