Hacker News new | ask | show | jobs
by AstroBen 48 days ago
"I saw her duck" - how much would you be willing to bet on the intended meaning of this sentence?

English isn't a good programming language if you want to trust that the output will be as you want it to be. High level code has no room for ambiguity - that's why we use it. It's a concise, very explicit language to tell the compiler exactly what to do.

Dealing with an LLM is a fundamentally different thing. The reason it's able to speed us up is because it makes assumptions for us and reads between the lines. The only world where we trust the output is one where it can literally read our minds. That's not coming any time soon

1 comments

I think an isolated and ambiguous sentence like the one you provided with zero surrounding context is perhaps a bad example. English can be very ambiguous. It is also possible to write unambiguous English, as far as deciphering intention is concerned. I think LLMs have shown us just how far English can go as a medium to get quite good results. And as others mention, there are other tools, like compiled programming languages and static analysis tools and unit tests, that can do more of the heavy lifting on our behalf.