Live data from Hacker News

Show HN: Why write code if the LLM can just do the thing? (web app experiment)

github.com

41–50 of 332 posts

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#41

Here's why I don't get why people are badmouthing AI assist tools from Claude for Excel to Cursor to any new AI assist tool. Why not try it out, and if it doesn't work for you or creates more work for you, then ditch it. All these AI assist tools are just tools.

Anecdotally, I've seen people do just that. Say, "I've tried it, it either didn't help me at all, or it didn't help me enough to be worth messing with."

But pretty consistently, such claims are met with accusations of not having tried it correctly, or not having tried it with the best/newest AI model, or not having tried it for long enough.

Thus, it seems that if you don't agree with maximum usage of AI, you must be wrong and/or stupid. I can understand that fostering feeling the need to criticize AI rather than just opt out.

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#42
Robert Martin teaches us that codebase is behaviour and structure. While behaviour is something we want the software to do. The structure can be even more important because it defines how easy if possible to evolve the behaviour.

I'm not entirely sure why I had an urge to write this.

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#43

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?

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.

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

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#44
This is incredibly interesting.

Now what if you ask it to optimize itself? Instead of just:

  prompt: `Handle this HTTP request: ${method} ${path}`,
Append some simple generic instructions to the prompt that it should create a code path for the request if it doesn't already exist, and list all existing functions it's already created along with the total number of times each one has been called, or something like that.

Even better, have it create HTTP routings automatically to bypass the LLM entirely once they exist. Or, do exponential backoff -- the first few times an HTTP request is called where a routing exists, still have the LLM verify that the results are correct, but decrease the frequency as long as verifications continue to pass.

I think something like this would allow you to create a version that might then be performant after a while...?

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#45
post #37

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?

Designing a system with deterministic behavior would require the developer to think. Human-Computer Interaction experts agree that a better policy is to "Don't Make Me Think" [1] [1] https://en.wikipedia.org/wiki/Don%27t_Make_Me_Think

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

We absolutely should want developers to think.

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#46
You're still operating with layers of lexical abstraction and indirection. Models full of dated syntactic and semantic concepts about software that waste cycles.

Ultimately useless layers of state that the goal you set out to test for inevitably complicates the process.

In chip design land we're focused on streamlining the stack to drawing geometry. Drawing it will be faster when the machine doesn't have decades of programmer opinions to also lose cycles to the state management.

When there are no decisions but extend or delete a bit of geometry we will eliminate more (still not all) hallucinations and false positives than we get trying to organize syntax which has subtly different importance to everyone (misunderstanding fosters hallucinations).

Most software out there is developer tools, frameworks, they need to do a job.

Most users just want something like automated Blender that handles 80% of an ask (look like a word processor or a video game) they can then customize and has a "play" mode that switches out of edit mode. That’s the future machine and model we intend to ship. Fonts are just geometric coordinates. Memory matrix and pixels are just geometric coordinates. The system state is just geometric coordinates[1].

Text driven software engineering modeled on 1960-1970s job routines, layering indirection on math states in the machine, is not high tech in 2025 and beyond. If programmers were car people they would all insist on a Model T being the only real car.

Copy-paste quote about never getting one to understand something when their paycheck depends on them not understanding it.

Intelligence gave rise to language, language does not give rise to intelligence. Memorization and a vain sense of accomplishment that follows is all there is to language.

[1]https://iopscience.iop.org/article/10.1088/1742-6596/2987/1/...

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#47
post #37

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?

Designing a system with deterministic behavior would require the developer to think. Human-Computer Interaction experts agree that a better policy is to "Don't Make Me Think" [1] [1] https://en.wikipedia.org/wiki/Don%27t_Make_Me_Think

..is this an AI comment?

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#48

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?

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).

Re: Show HN: Why write code if the LLM can just do the thing? (web app experiment)

#49
post #37

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?

Designing a system with deterministic behavior would require the developer to think. Human-Computer Interaction experts agree that a better policy is to "Don't Make Me Think" [1] [1] https://en.wikipedia.org/wiki/Don%27t_Make_Me_Think

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...
Post reply on HN