News for hackers. Stuff that matters.
Re:Show HN: Why write code if the LLM can just do the thing?... by jstummbillig on Saturday November 01, 2025 @04:26PM (#45785018)
Most of us actually drive a car to get somewhere. The car, and the driving, are just a modality. Which is the point.
Re:Show HN: Why write code if the LLM can just do the thing?... by 113 on Saturday November 01, 2025 @09:14PM (#45787045)
Yeah but in this case your car is non-deterministic so
Re:Show HN: Why write code if the LLM can just do the thing?... by mikodin on Saturday November 01, 2025 @09:51PM (#45787206)
Well the need is to arrive where you are going.

If we were in an imagined world and you are headed to work

You either walk out your door and there is a self driving car, or you walk out of your door and there is a train waiting for you or you walk out of your door and there is a helicopter or you walk out of your door and there is a literal worm hole.

Let's say all take the same amount of time, are equally safe, same cost, have the same amenities inside, and "feel the same" - would you care if it were different every day?

I don't think I would.

Maybe the wormhole causes slight nausea ;)

Re:Show HN: Why write code if the LLM can just do the thing?... by hyperadvanced on Sunday November 02, 2025 @12:01AM (#45787764)
I think it’s pretty obvious but most people would prefer a regular schedule not a random and potentially psychologically jarring transportation event to start the day.
Re:Show HN: Why write code if the LLM can just do the thing?... by didericis on Sunday November 02, 2025 @01:26AM (#45788022)
> Well the need is to arrive where you are going.

In order to get to your destination, you need to explain where you want to go. Whatever you call that “imperative language”, in order to actually get the thing you want, you have to explain it. That’s an unavoidable aspect of interacting with anything that responds to commands, computer or not.

If the AI misunderstands those instructions and takes you to a slightly different place than you want to go, that’s a huge problem. But it’s bound to happen if you’re writing machine instructions in a natural language like English and in an environment where the same instructions aren’t consistently or deterministically interpreted. It’s even more likely if the destination or task is particularly difficult/complex to explain at the desired level of detail.

There’s a certain irreducible level of complexity involved in directing and translating a user’s intent into machine output simply and reliably that people keep trying to “solve”, but the issue keeps reasserting itself generation after generation. COBOL was “plain english” and people assumed it would make interacting with computers like giving instructions to another employee over half a century ago.

The primary difficulty is not the language used to articulate intent, the primary difficulty is articulating intent.

Re:Show HN: Why write code if the LLM can just do the thing?... by simianwords on Sunday November 02, 2025 @04:06AM (#45788900)
this is a weak argument.. i use normal taxis and ask the driver to take me to a place in natural language - a process which is certainly non deterministic.
Re:Show HN: Why write code if the LLM can just do the thing?... by chii on Sunday November 02, 2025 @05:06AM (#45789170)
and the taxi driver has an intelligence that enables them to interpret your destination, even if ambiguous. And even then, mistakes happen (all the time with taxis going to a different place than the passenger intended because the names may have been similar).
Re:Show HN: Why write code if the LLM can just do the thing?... by simianwords on Sunday November 02, 2025 @05:20AM (#45789231)
Yes so a bit of non determinism doesn’t hurt anyone. Current LLMs are pretty accurate when it comes to these sort of things.
Re:Show HN: Why write code if the LLM can just do the thing?... by didericis on Sunday November 02, 2025 @10:34AM (#45791048)
> a process which is certainly non deterministic

The specific events that follow when asking a taxi driver where to go may not be exactly repeatable, but reality enforces physical determinism that is not explicitly understood by probabilistic token predictors. If you drive into a wall you will obey deterministic laws of momentum. If you drive off a cliff you will obey deterministic laws of gravity. These are certainties, not high probabilities. A physical taxi cannot have a catastrophic instant change in implementation and have its wheels or engine disappear when it stops to pick you up. A human taxi driver cannot instantly swap their physical taxi for a submarine, they cannot swap new york with paris, they cannot pass through buildings… the real world has a physically determined option-space that symbolic token predictors don’t understand yet.

And the reason humans are good at interpreting human intent correctly is not just that we’ve had billions of years of training with direct access to physical reality, but because we all share the same basic structure of inbuilt assumptions and “training history”. When interacting with a machine, so many of those basic unstated shared assumptions are absent, which is why it takes more effort to explicitly articulate what it is exactly that you want.

We’re getting much better at inferring intent from plain english, but even if we created a machine which could perfectly interpret our intentions, that still doesn’t solve the issue of needing to explain what you want in enough detail to actually get it for most tasks. Moving from point A to point B is a pretty simple task to describe. Many tasks aren’t like that, and the complexity comes as much from explaining what it is you want as it does from the implementation.

Re:Show HN: Why write code if the LLM can just do the thing?... by nurettin on Sunday November 02, 2025 @04:29AM (#45789017)
I mean, as long as it works and it is still technically "my car", I would welcome the change.
Re:Show HN: Why write code if the LLM can just do the thing?... by chii on Sunday November 02, 2025 @05:01AM (#45789148)
> your car is non-deterministic

it's not as far as your experience goes - you press pedal, it accelerates. You turn the steering, it goes the way it turns. What the car does is deterministic.

More importantly, it does this every time, and the amount of turning (or accelerating) is the same today as it was yesterday.

If an LLM interpreted those inputs, can you say with confidence, that you will accelerate in a way that you predicted? If that is the case, then i would be fine with an LLM interpreted input to drive. Otherwise, how do you know, for sure, that pressing the brakes will stop the car, before you hit somebody in front of you?

of course, you could argue that the input is no longer your moving the brake pads etc - just name a destination and you get there, and that is suppose to be deterministic, as long as you describe your destination correctly. But is that where LLM is at today? or is that the imagined future of LLMs?

Re:Show HN: Why write code if the LLM can just do the thing?... by crote on Sunday November 02, 2025 @08:08AM (#45790018)
Tesla's "self-driving" cars have been working very hard to change this. That piece of road it has been doing flawlessly for months? You're going straight into the barrier today, just because it feels like it.
Re:Show HN: Why write code if the LLM can just do the thing?... by iliaxj on Sunday November 02, 2025 @08:28PM (#45795038)
Sometimes it doesn't though. Sometimes the engine seizes because a piece of tubing broke and you left your coolant down the road two turns ago. Or you steer off a cliff because there was coolant on the road for some reason. Or the meat sack in front of the wheel just didn't get enough sleep and your response time is degraded and you just can't quite get the thing to feel how you usually do. Ultimately the failure rate is low enough to trust your life on it, but that's just a matter of degree.
Re:Show HN: Why write code if the LLM can just do the thing?... by pepoluan on Sunday November 02, 2025 @09:13PM (#45795255)
The situations you described reflects a System that has changed. And if the System has changed, then a change in output is to be expected.

It's the same as having a function called "factorial" but you change the multiplication operation to addition instead.

Re:Show HN: Why write code if the LLM can just do the thing?... by chii on Sunday November 02, 2025 @09:40PM (#45795371)
all of those situations are the "driver's own fault", because they could've had a check to ensure none of that happened before driving. Not true with an LLM (at least, not as of today).
Re:Show HN: Why write code if the LLM can just do the thing?... by 63stack on Sunday November 02, 2025 @04:29AM (#45789013)
Most of us actually want to get somewhere to do an activity. The getting there is just a modality.
Re:Show HN: Why write code if the LLM can just do the thing?... by jermaustin1 on Sunday November 02, 2025 @07:21AM (#45789788)
Most of us actually want to get some where to do an activity to enjoy ourselves. The getting there, and activity, are just modalities.
Re:Show HN: Why write code if the LLM can just do the thing?... by tags2k on Sunday November 02, 2025 @07:41AM (#45789891)
Most of us actually want to get somewhere to do an activity to then have known we did it for the rest of our lives as if to extract some intangible pleasure from its memory. Why don't we just hallucinate that we did it?
Re:Show HN: Why write code if the LLM can just do the thing?... by shswkna on Sunday November 02, 2025 @08:08AM (#45790019)
This leads to us asking the deepest question of all: What is the point of our existence. Or as someone suggests lower down, in our current form all needs could ultimately be satisfied if AI just provided us with the right chemicals. (Which drug addicts already understand)

This can be answered though, albeit imperfectly. On a more reductionist level, we are the cosmos experiencing itself. Now there are many ways to approach this. But just providing us with the right chemicals to feel pleasure/satisfaction is a step backwards. All the evolution of a human being, just to end up functionally like an amoeba or a bacteria.

So we need to retrace our steps backwards in this thought process.

I could write a long essay on this.

But, to exist in first place, and to keep existing against all the constraints of the universe, is already pretty fucking amazing.

Whether we do all the things we do, just in order to stay alive and keep existing, or if the point is to be the cosmos “experiencing itself”, is pretty much two sides of the same coin.

Re:Show HN: Why write code if the LLM can just do the thing?... by narrator on Sunday November 02, 2025 @10:15AM (#45790897)
>Or as someone suggests lower down, in our current form all needs could ultimately be satisfied if AI just provided us with the right chemicals. (Which drug addicts already understand)

When you suddenly realize walking down the street that the very high fentanyl zombie is having a better day than you are.

Yeah, you can push the button in your brain that says "You won the game." However, all those buttons were there so you would self-replicate energy efficient compute. Your brain runs on 10 watts after all. It's going to take a while for AI to get there, especially without the capability for efficient self-repair.

Re:Show HN: Why write code if the LLM can just do the thing?... by tags2k on Sunday November 02, 2025 @10:16AM (#45790911)
Indeed - stick me in my pod and inject those experience chemicals into me, what's the difference? But also, what would be the point? What's the point anyway?

In one scenario every atom's trajectory was destined from the creation of time and we're just sitting in the passenger seat watching. In another, if we do have free will then we control the "real world" underneath - the quantum and particle realms - as if through a UI. In the pod scenario, we are just blobs experiencing chemical reactions through some kind of translation device - but aren't we the same in the other scenarios too?

Re:Show HN: Why write code if the LLM can just do the thing?... by 63stack on Monday November 03, 2025 @05:52AM (#45797772)
This was actually my point as well. You can follow this thought process all the way up to "make those specific neuron pathways in my brain fire", everything else is just the getting there part.
Re:Show HN: Why write code if the LLM can just do the thing?... by GTP on Sunday November 02, 2025 @08:45AM (#45790318)
But I want that somewhere to be deterministic, i.e. I want to arrive to the place I choose. With this kind of non-determinism instead, I have a big chance of getting to the place I choose. But I will also every now and then end up in a different place.
Re:Show HN: Why write code if the LLM can just do the thing?... by kennywinker on Sunday November 02, 2025 @07:35PM (#45794737)
If this was a good answer to mobility, people would prefer the bus over their car. It’s non-deterministic - when will it come? How quick will i get there? Will i get to sit? And it’s operated by an intelligent agent (driver).

Every reason people prefer a car or bike over the bus is a reason non-deterministic agents are a bad interface.

And that analogy works as a glimpse into the future - we’re looking at a fast approaching world where LLMs are the interface to everything for most of us - except for the wealthy, who have access to more deterministic services or actual human agents. How long before the rich person car rental service is the only one with staff at the desk, and the cheaper options are all LLM based agents? Poor people ride the bus, rich people get to drive.

Re:Show HN: Why write code if the LLM can just do the thing?... by aryehof on Monday November 03, 2025 @01:21AM (#45796352)
Bus vs car hit home for me as a great example of non vs deterministic.

It has always seemed to me that workflow or processes need to be deterministic and not decided by an LLM.

Re:Show HN: Why write code if the LLM can just do the thing?... by soco on Monday November 03, 2025 @05:00PM (#45804958)
Here in Switzerland the bus is the deterministic choice. Just saying.