Lurker News
I spent a few hours last weekend testing whether AI can replace code by executing directly. Built a contact manager where every HTTP request goes to an LLM with three tools: database (SQLite), webResponse (HTML/JSON/JS), and updateMemory (feedback). No routes, no controllers, no business logic. The AI designs schemas on first request, generates UIs from paths alone, and evolves based on natural language feedback. It works—forms submit, data persists, APIs return JSON—but it's catastrophically slow (30-60s per request), absurdly expensive ($0.05/request), and has zero UI consistency between requests. The capability exists; performance is the problem. When inference gets 10x faster, maybe the question shifts from "how do we generate better code?" to "why generate code at all?"

Comments (324) 95 threads

Show all comments

Showing thread 1 of 95

sunaurus11 replies#
The question posed sounds like "why should we have deterministic behavior if we can have non-deterministic behavior instead?"

Am I wrong to think that the answer is obvious? I mean, who wants web apps to behave differently every time you interact with them?

admax88qqq3 replies#
Web apps kind of already do that with most companies shipping constant UX redesigns, A/B tests, new features, etc.

For a typical user today’s software isn’t particularly deterministic. Auto updates mean your software is constantly changing under you.

jeltz#
And most end users hate it.
Jaygles1 reply#
I don't think that is what the original commenter was getting at. In your case, the company is actively choosing to make changes. Whether its for a good reason, or leads to a good outcome, is beside the point.

LLMs being inherently non-deterministic means using this technology as the foundation of your UI will mean your UI is also non-deterministic. The changes that stem from that are NOT from any active participation of the authors/providers.
This opens a can of worms where there will always be a potential for the LLM to spit out extremely undesirable changes without anyone knowing. Maybe your bank app one day doesn't let you access your money. This is a danger inherent and fundamental to LLMs.

admax88qqq5 replies#
Right I get tha. The point I’m making is that from a users perspective it’s functionally very similar. A non deterministic llm or a non deterministic company full of designers and engineers.

Continue this thread — 5 replies

paulhebert#
The rate of change is so different it seems absurd to compare the two in that way.

The LLM example gives you a completely different UI on _every_ page load.
That’s very different from companies moving around buttons occasionally and rarely doing full redesigns

samrolken1 reply#
No, I wouldn’t say that my hypothesis is that non-deterministic behavior is good. It’s an undesirable side effect and illustrates the gap we have between now and the coming post-code world.
killingtime741 reply#
AI wouldn't be intelligent though if it was deterministic. It would just be information retrieval
finnborge1 reply#
It already is "just" information retrieval, just with stochastic threads refining the geometry of the information.

Continue this thread — 1 reply

thih94 replies#
> who wants web apps to behave differently every time you interact with them?

Technically everyone, we stopped using static pages a while ago.
Imagine pages that can now show you e.g. infinitely customizable UI; or, more likely, extremely personalized ads.

ehutch79#
No.

When I go to the dmv website to renew my license, I want it to renew my license every single time

hansmayer#
> infinitely customizable UI; or, more likely, extremely personalized ads

Yeah, NO.

anthk#
Ah, sure; that's why everyone got Adblock and UBo in first place. Even more under phones.
ozim#
Small anecdote. We were releasing UI changes every 2 weeks making app better more user friendly etc.

Product owners were happy.
Until users came for us with pitchforks as they didn’t want stuff to change constantly.
We backed out to releasing on monthly cadence.

krapp1 reply#
That book is talking about user interaction and application design, not development.

We absolutely should want developers to think.

crabmusket2 replies#
As experiments like TFA become more common, the argument will shift to whether anybody should think about anything at all.

Continue this thread — 2 replies

AstroBen#
..is this an AI comment?
_se1 reply#
This is such a massive misunderstanding of the book. Have you even read it? The developer needs to think so that the user doesn't have to...
finnborge1 reply#
My most charitable interpretation of the perceived misunderstanding is that the intent was to frame developers as "the user."

This project would be the developer tool used to produce interactive tools for end users.
More practically, it just redefines the developer's position; the developer and end-user are both "users". So the developer doesn't need to think AND the user doesn't need to think.

Continue this thread — 1 reply

jstummbillig10 replies#
Because nobody actually wants a "web app". People want food, love, sex or: solutions.

You or your coworker are not a web app. You can do some of the things that web apps can, and many things that a web app can't, but neither is because of the modality.
Coded determinism is hard for many problems and I find it entirely plausible that it could turn out to be the wrong approach in software, that is designed to solve some level of complex problems more generally. Average humans are pretty great at solving a certain class of complex problems that we tried to tackle unsuccessfully with many millions lines of deterministic code, or simply have not had a handle on at all, like (like build a great software CEO).

1139 replies#
> Because nobody actually wants a "web app". People want food, love, sex or: solutions.

Okay but when I start my car I want to drive it, not fuck it.

hinkley#
Christine didn’t end well for anyone.
lazide1 reply#
Even if it purred real nice when it started up? (I’m sorry)

Continue this thread — 1 reply

jstummbillig25 replies#
Most of us actually drive a car to get somewhere. The car, and the driving, are just a modality. Which is the point.

Continue this thread — 25 replies

Continue this thread — 6 more replies

Continue this thread — 9 more replies

Continue this thread — 6 more replies