Settings

Theme

The foolishness of "natural language programming" (1978)

cs.utexas.edu

356 points by xiaoyu2006 · 258 comments

Reader

44 threads
benrutter

I think this essay has aged pretty well and remains pretty spot on.

Some people will push back that agent development is "natural language programming" but I don't think that's right. I think in that case the agent is the one programming, and the programming still always happens in a deterministic language like Rust/Python/Typescript/etc. Maybe that'll change, but to me at least the other way would be a disaster.

The best exception I know of though, is definitely the Inform 7 language which is for writing text adventures[0]. It has a lot of fans, and I've never gone deep with it, but seems to do a pretty elegant job or marrying up natural language and programming together in a unique way.

Either way, definitely a must-check-out for any language-geeks interested in natural language programming.

[0] https://ganelson.github.io/inform-website/

  • NichoPaolucci

    Good points. I've stood by this position.

    "We'll just store prompts in VC and the agent will pick those up", "Code isn't going to exist anymore", "We will just write comprehensive specs of what the software is supposed to do"

    This is short-sighted IMO. (Conversely, maybe my argument is short-sighted).

    This is exactly why we use code... Natural language is ambiguous, to a fault. Any statement can impact depending statements in multiple ways, which creates this huge dependency graph that has millions, billions, trillions of "plausible" specifications.

    It's pretty much ALWAYS going to be easier to just use a deterministic programming language to build the actual software.

    We may never need to look at it, we may never need to write it, but having a deterministic specification of what a software system does seems like a much easier jump-off point to work with agents (whether or not we interface with the code).

    Feels solved to me... A simple software example that creates users, logs them in, and shows them a dashboard turns into a TON of language and ambiguity.

    Must be logged in to see dashboard datapoint A. Can log in with email or username. No log in if their IP is outside of [range]. Can log out. Logging out during a dashboard update cancels the transaction. Cannot see confidential data. Unless the user is an admin. User needs a strong password. Password must contain a capital letter.

    Stuff like that just seems easier to parse + modify in code (whether human OR agent). Also, debugging natural language feels super icky. Which statement was it that got the password out of the formal spec?

    And my biggest argument, we already HAVE code - reinventing the wheel for something that already works feels misguided?

    • suburban_strike

      > Also, debugging natural language feels super icky. Which statement was it that got the password out of the formal spec?

      Everyone's a lawyer now.

    • onemoresoop

      Yeah, just because higher level programming languages (PLs) emerged doesn't mean lower-level PLs or assembly disappeared. Programming with LLMs in natural language is somewhat like programming in a higher level PL that gets translated into lower level PL, all the way down to assembly.

      When it comes to precision it's easier to express instructions in formal languages and I don't see that changing anytime soon unless natural language itself changes drastically, which I highly doubt. Formal syntax, well-defined semantics, reproducibility and composability are traits that make traditional programming languages more reliable and precise than natural language for programming.

    • Paracompact

      > This is exactly why we use code... Natural language is ambiguous, to a fault. Any statement can impact depending statements in multiple ways, which creates this huge dependency graph that has millions, billions, trillions of "plausible" specifications.

      Devil's advocate here: Why is having many possible implementations a bad thing? Sure, you don't want to half-ass your specifications and fail to pin down your product properly, but if you do pin down what matters, then by definition what remains is discretionary. Formal specs (e.g. the C spec) behave the same as informal specs in this regard.

      The real question is whether humans in an agentic workflow can actually identify all of what's structurally and functionally necessary for their product. Either the spec writer must be expert, or the agent must be savvy enough to identify and collaborate with the non-expert. Right now, agents like to just plough through underspecification or bad ideas so that they can deliver as quickly as possible.

  • baxtr

    On a related note: I’d say that in 90% of all use-cases talking to LLMs to create code is the right approach.

    As opposed to creating flows where LLMs do something on the fly.

    Code creates determinism, LLMs don’t.

    • cgarvis

      This is the bet I'm making with Croft. LLMs to figure out the messy bits but once it's figured it, software is the better tool. Let the LLM write the software.

      This is what software engineers do but just more expensive and time consuming.

    • RunSet

      "The first 90% of the code accounts for the first 90% of development time; the remaining 10% accounts for the other 90%."

    • cowboylowrez

      right now thats my sweet spot, I want to still be able to be the llm's "dumber pair programming partner" lol

      • devmor

        I'm not sure if you're being self depreciating or genuinely desire that, but this isn't an outcome that leads to good software engineering.

        You should own and be the expert on the architecture and design of what you're building regardless of whether yourself, an LLM or another person is writing the code.

        The LLM isn't "smarter" than you, it's more resourceful. It can (to varying degrees of success) translate your design into code. If you aren't still taking ownership and driving the design of that logic, the LLM isn't going to bring you success with anything other than single-use or hobby applications.

        • skydhash

          The thing is, if you’re good at designing and breaking down problems and coming up with a good system, code is not likely an hindrance.

          You can take any idea and try to flesh it out with pseudo code. Once that’s done, try to convert it to real code and you’ll see that process is fairly mechanical. This is why people says that coding wasn’t an issue for ages. Coming up with the algorithm is the hard part.

          People that have an issue with coding either are not familiar with the language/platform or is trying to think with real code instead of pseudocode or diagrams.

          ADDENDUM

          There are techniques to think with real code, moslty the Edit-Compile-Run workflow coupled with a good editor, or the REPL workflow (also helped by a good editor). Then add a good integration with a documentation system (manual pages?) and you’re golden.

          But I’ve been on projects where a dev cycle relies on a 20 minutes local rebuild or one hour CI run. So it can be very hard to try to apply those workflows to legacy projects.

          • zelphirkalt

            I somewhat doubt the "fairly mechanical" claim. I think when you actually turn it into real programming language code, that's when lots of the edge cases become apparent and then you will face a lot of new questions, that the natural language or the pseudo code didn't cover.

          • devmor

            I find this to be intrinsically true in my experience. I was put into senior-level engineering positions very early in my career because I'm a strong problem solver and mentor. I've taken on several positions as a programmer working with a language stack I had little to no experience in without much issue.

            Of course there are problems where knowing the code deeply is essential to solve the problem, but those really aren't the majority, if even less than 1% of business problems.

            When it comes to what the average developer needs to understand, having a strong grasp on one functional and one procedural language can enable you to solve almost every problem in any language ecosystem, provided the correct resources. If you can do this, you can utilize an LLM for programming assistance well. If you can't, you probably should not heavily rely on one at all yet.

  • pjmlp

    See cloud products like https://www.microsoft.com/en/copilot/products/copilot-studio

    Traditional coding is left for MCP tooling, and even that can be generated as well.

  • js8

    Of course instructing agent is programming; the agent is an interpreter (albeit in some cases nondeterministic, but that's true for most programming languages that have a function to get current time) of the natural language. How exactly it is interpreted is given by the weights, the context, and possibly the random seed.

    But even if we write in Python like foo.bar(), the interpretation depends on what is in module foo and function bar, how they are defined contextually.

    You can try to find some difference but most modern AI agents come more close to a language interpreter than not, if the actual instructions are given.

    OTOH, giving instructions to people is not programming. People do not consist of binary code that is reliably executed; they are biological organisms subject to environmental pressures such as being tired. They have their own consciousness and will, and can refuse to follow the instructions. LLMs are programs; they cannot decide not to respond.

    • mohamedkoubaa

      If instructing an agent is programming then your boss 10 years ago telling you what the software should do is also programming

      • paraknight

        Having software build software is programming. An agent is software, a human isn't. I can draw a UML diagram, software generates code from that, and software turns it into binary. That still counts as programming I would say, we're just changing the language. Otherwise you would have to say that writing JavaScript is not programming because it's too far removed from Assembly.

        • suburban_strike

          > That still counts as programming I would say, we're just changing the language.

          Anything can be anything it isn't once you start changing the language.

          "When at first you don't succeed, redefine success."

          > Having software build software is programming. An agent is software, a human isn't. I can draw a UML diagram, software generates code from that, and software turns it into binary.

          It's not programming, it's cuckoldry. Articulating the perfect guy, inviting him over and watching him get to do all the stuff you used to enjoy literally makes you a manager.

        • wolttam

          It really is the determinism aspect for me. Okay, it’s programming if you sample at temperature 0 with a fixed seed on a fully deterministic inference stack and you have made your prompts the artifact that you iterate on (repo full of natural language that “builds” into the running software it describes with the use of the LLM sampling at temperature 0)

        • andyfilms1

          That's not really what we're talking about though. Compiling verilog from simulink or whatever is totally different than an agent writing code.

          If you design a custom piece of furniture, then hire someone to build it, that's totally fine! But if you then tell everyone "I constructed this cool table," well, that's just not true.

        • mohamedkoubaa

          Having animals eat animals is food. An animal is food, a human isn't. I can draw up some hay, animals eat it, and another animal eats it. That still counts as food I would say, we're just changing the organism. Otherwise you would have to say that dogs aren't animals because it's too far removed from plants.

      • js8

        If I was brainwashed - maybe (hypnosis is sometimes called programming). But I am not, and AI agent is - it's trained to follow instructions, cannot help itself but do it.

        Another difference is the binary code - I can run the same agent on a different computing substrate (e.g. different CPU), but with humans no one can do that. That has implications, we can study or modify AI agent behavior, for instance.

  • PaulHoule

    Inform 7 is a fascinating case study. There are a lot of really neat ideas in it such as “default driven development” but in the end it doesn’t succeed at being a way English majors can write interactive fiction because it takes the same discipline to write Inform 7 that it takes to write ordinary programs.

    I like the idea that the code looks like English and is therefore readable, long ago I pitched a plan to make an “Inform 7 for European Air Traffic Regulations” where that readability was a big plus.

    • AlienRobot

      To be fair, Inform7 can't succeed, generally, because there is no market for the kind of games that you create with Inform7. Even if I was going to create a game like the kind you can make in Inform7 today from scratch while trying to keep more or less the same UI, I'd still want to add things that the emulators don't support natively, like some way to quickly tell which commands you can type.

      That's not even considering the fact that in practice if you were to make a proper game like that today, you wouldn't choose text input because of mobile. You would have some sort of touch input instead.

      I do want to say that I like the fact that a game made in Inform7 is a file that runs on a separate emulator, and some browser-based implementation even exist. It's kind of like Java, or kind of like a webpage.

      I wish there was something like that for small games in general. An application that you can download to your computer that runs a game file sandboxed, so you can safely play random games that aren't browser games because the environment doesn't provide an API for arbitrary file access. That's pretty much what I wish Flash was, as well.

  • broken-kebab

    But Inform7 doesn't seem to be a NL programming really. I went to read the website (it's a mess btw), and my understanding is that it's built around strict rules, and patterns one must follow, i.e. it's is as formal as Python. It just takes a lot of efforts to look natural. So it's not unlike Perligata which was a joke allowing to write working Perl code in Latin. It just went much farther because it's not intended to be a joke, but the principle remains.

    • benrutter

      Yes, I think that's a pretty good description of Inform7.

      Whether "natural-language-like syntax" is enough "count as natural language programming" is probably a question of definition. For Dijkstra's essay here, he doesn't offer a particular definition, but he certainly seems to be implying something much more fluid and ambiguous than Inform7 is.

      I definitely didn't mean to imply Inform7 had achieved the holy-grail of natural language programming or anything.

      I think Dijkra's main point he's driving at is here:

      > I suspect that machines to be programmed in our native tongues —be it Dutch, English, American, French, German, or Swahili— are as damned difficult to make as they would be to use.

      I'm inferring/assuming a bunch, but I think he's saying something along the lines of, programming is useful because it is precise, and natural language is not precise, so attempts to make programming languages more like natural language are butting up into this inherent contradiction of precision. And therefore will end up as worse programming languages (for attempting to be more naturalistic).

      In the history of programming languages, I think most attempts to be "more natural language like", such as COBOL or AppleScript, do become worse for attempting to walk the tightrope between natural-language and programming. I think Inform7 is unusual in that it achieves that balance in a way that isn't just objectively terrible (you may disagree) - I think that's mostly because it offers very few programming constructs, and is a tool for writing a kind of prose (text adventure games).

      Anyway, to come back around, that was my reasoning for mentioning Inform7 - I think it's an interesting deviation from other experiments in natural language programming so far.

      • serhei

        Getting Inform7 to work well probably depended on 'text adventure'/IF culture, since the text adventures themselves rely on this kind of 'restricted natural language' interface to navigate. Conversely, IF developers built up a lot of intuition on how to make pseudo-natural-language input feel natural while keeping the restrictions obvious.

  • zby

    IMHO instructing llms is programming - the analogy is not perfect but it is so close that it is quite useful. Programming is instructing a machine. We have now two types of programming - the traditional one that follows strict semantics and the new way of programming by prompting. The article still holds by showing the limitations of this new kind of programming.

    • benrutter

      I don't have strong opinions on when it's ok to use the work "programming" or not, but I think if you're using claude-code/pi/open-code/etc to produce something like a website or application, the "program" is the code the LLM outputs, not your prompt etc.

      I don't think I'd want to call it "natural language programming" in the way Dijstra's implying here unless the prompt was the thing that was actively being executed/ran/whatever when someone loads your app or website.

      • cgarvis

        I've seen some newer testing frameworks where you prompt for the outcome you want under a specific scenario. The first run is a LLM agent that figures out the steps but those steps are then used for recurring runs. If something fails, it goes back to the agent loop to see if it's an actual error.

        This works well in e2e type tests where the test implementation might change but the customer experience hasn't.

        So maybe there is a hybrid approach in our future.

        • benrutter

          Yeah, that's an interesting case study. It's pretty common practice to do something like llm-as-a-judge if your programming agentic systems.

          I think those are different from pure "natural langyage programming" though because there's normally code you've written that's calling out to the LLM, so it's within the context of written code.

          I think this, and lots of other comments are so interesting. There are a lot of different increasingly complex ways LLM outputs and coding are being tied together by people, that I hadn't really considered.

    • 0c3ca83

      Today I learned that the CEO of my company was a programmer all along.

    • nkrisc

      So product managers have been programmers this whole time after all.

      • zby

        Product managers did not write instructions to a machine.

        • nkrisc

          They instructed an intelligent entity.

          • alterom

            Yes, unlike those instructing an LLM.

            The lack of intelligence in the loop is the foolishness the title refers to.

      • alterom

        >So product managers have been programmers this whole time after all.

        The entire point of the article was that human language isn't suitable for instructing computers, and you somehow make the leap to "humans instructing humans must be the same thing".

        Reading comprehension must be a thing of the past at this point.

        • nkrisc

          I understood perfectly. My comment was meant to illustrate your exact point in reply to the comment I replied to.

          Reading comprehension must be a thing of the past at this point.

  • _heimdall

    I read it the same way as well Natural language programming would be more akin to my prose staying on file and the computer interpreting it again every time it is executed.

    • alterom

      That makes no difference insofar as the premise of the article is concerned.

  • AlienRobot

    I've tried Inform 7 before for fun and one thing that struck with me is how incompetent I was with it. I was never sure if something was written right or not because of how free the syntax was. The practical effect of the English syntax was that instead of memorizing just the function an argument order, you had to memorize an arbitrary number of prepositions. And you couldn't even tell what a piece of "code" was doing just from looking at it since you need to parse the grammar with your brain first instead of just looking at the function name.

  • Tanjreeve

    I’ve heard plenty of “tech enthusiasts” breezily talk about how close we are to natural language getting compiled down to machine code but has anyone credible got any idea if that’s even a path? Closest think I can think of is DSL type setups like a much richer version of the stuff Haskell people get excited about but that’s not close to an actual natural language "language"

    • pjmlp

      Yes, see this X11 windows manager coded in Assembly with Claude's help,

      https://www.phoronix.com/news/Frame-X11-Server-Assembly

    • jstanley

      Of course it's a path. Claude does that already.

      Existence proof: everything Claude Code does, including talking to LLMs on GPUs via the Anthropic API, and shelling out to other tools installed on your system, could in principle be compiled into one big self-contained binary (or Turing Machine if you prefer) that is able to take natural language in and produce compiled binaries out.

      If you wanted to go a bit harder you could train Claude to output machine code directly, but that's not necessary. Whether the machine code comes straight out of an LLM or out of a compiler that is fed source code that comes from an LLM is a mere implementation detail, there's not any fundamental difference.

      • kevindamm

        It's more than an implementation detail. With an intermediate step of source code compiling & linking, there is a mechanical process checking for well-formedness that would otherwise be skipped. This is especially important if you're editing a large codebase, which even your agent's private-only repo would benefit from.

        There are also times when you want the final product to be able to target different architectures and platforms. Generating into a higher level language allows for re-targeting the code by only changing a few compiler & linker flags or runtime/environment config. I would much rather that than hoping the LLM is feature- (and bug-)compatible between generation runs.

        • js8

          Claude also checks well-formedness - if you give it gibberish instructions, it will respond that it is gibberish and do nothing.

          On the other hand, there exist programming languages (like Jot, a certain encoding of combinatory logic) where every binary string is a valid program.

    • betterunix2

      Not without some significant changes in how we turn natural language into programs. Yes, you can use an agent to do it, but the agent is going to rely on a compiler for the same reason human programs do: to check semantic correctness. In theory you could build an agent that outputs machine code, but the results would be pretty terrible.

      I am not sure we actually want natural language to be compiled directly to machine code anyway. Those rich type systems that Haskell people get excited about are actually automatic proof checkers, similar to Lean, and having an agent check its output against such type checkers greatly improves the code generated by agents. If anything, we will probably see more widespread use of the lambda cube type systems (with extensions e.g. double negative elimination) as agents become a standard programming tool; human beings tend to find such type systems very tedious and difficult to work with, but agents are good at dealing with tedious tasks.

    • astrobe_

      I don't know about the "stuff Haskell people get excited about", but IMHO, Haskell is a mathematician's language and the language of mathematics isn't a natural language. Dijkstra himself was also a mathematician, and his positions regarding programming languages features like 1-based indexing [1] are already conflicting with practice, the famous case being Lua which receives mixed opinions about it. I find for instance 1-based indexing more "natural", and that's coming from someone whose second and third languages are assembly and C (the first being... Basic).

      Yet the point about DSL is interesting, in particular internal/embedded DSLs [2]. I lied a little earlier, my third programming language was actually Forth. His creator said in 2001, "When you devised an application you wrote a hundred words [i.e. functions] or so that discussed the application and you used those hundred words to write a one line definition to solve the application" [3].

      I've been trying to do that exactly that in other languages, make it so that the code expresses "naturally" what it does as much as possible. When you succeed, people call your code "beautiful" or "elegant" (nobody ever told me that :-) which, I think, subsumes "naturality".

      This is of course harder to do in low-level languages such as the ones I mentioned (except Basic maybe) because you get caught in details such as memory management. But high-level languages are not exempt of these problems (and contrary to Forth or Lisp, their syntax is often written in stone). Then there's essential complexity [4], which can be "unnatural" no matter what, like thinking about things in a concurrent programming context, with languages that don't natively support it like they support automatic memory management (i.e. garbage collection).

      The topic is dangerously close to "readability", which is known to be 80% subjective.

      [1] https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831...

      [2] https://en.wikipedia.org/wiki/Domain-specific_language#Domai...

      [3] https://www.ultratechnology.com/1xforth.htm

      [4] https://en.wikipedia.org/wiki/No_Silver_Bullet

      • serhei

        Dijkstra's personal language design (GCL) actually used anything-based indexing -- you specify the lower bound explicitly when you declare the array, so even if indexing starting from some runtime value k (e.g. k=7, k=b.lower-bound for some existing array b, etc.) is most natural, you provide that as the lower bound. Then a(i) would be translated to e.g. a[i-k] in compilation.

nickm12

I send this article to everyone who tells me how English is now a high-level programming language, the next level of abstraction up the chain from machine language to <their favorite language>. This analogy tends to be followed by "Just like most programmers never look at assembly code, looking at higher-level source code is going to become something only a few people do".

Dijkstra's arguments tend not to change their minds. I think the analogy takes hold because there is a kernel of truth in it. AI models now give us the magical ability to program in natural language, but the implication that an AI model is a form of compiler is deeply flawed. AI models don't replace compilers, they replace software developers. The reason software developers rarely look at assembly code is that compilers (and emulators and VMs) are able to precisely preserve the semantics of the original program.

A natural language spec is not a program, and there are many possible programs that can meet the spec. Software engineers and AI models turn specs into code, but the code is not the spec I think the analogy clouds our thinking about the value of programming languages as a tool for formally describing what the computer should do and enforcing properties of the program that should not be left to either humans or AI models to uphold.

  • glimshe

    Your acquaintances aren't changing their minds because the arguments are weak. Both the article and your comment assume that the only mode of interaction for natural language is a very high level description of programmer intent.

    You can interact with AI and say "code me a calculator" or "now declare a array of booleans to map to each of the keys in the UI and set the corresponding array position to true when the key is pressed".

    These commands are written in natural language at such different levels of abstraction that is hard to put them in the same bucket. It would be fair to call the latter an imperative language with the LLM in the role of a compiler. That's very similar to how I use AI.

    • ernst_klim

      > Both the article and your comment assume that the only mode of interaction for natural language is a very high level description of programmer intent.

      No, the article explicitly says that the difference is formal vs informal language.

      > Programming remained the use of a formal symbolism and, as such, continued to require the care and accuracy required before.

      One can define an operational semantics for (at least a subset of) the programming language (even for sloppy one, since they are still very small and restricted). One can prove the semantics preservation theorem formally, or reason somewhat in a similar way informally.

      With natural language you kinda lose it, and we don't even touch the fact that models are probabilistic.

    • nmeofthestate

      If AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you". And you can even ask them to do it at different levels of abstraction!

      • nmeofthestate

        It's the same as "natural language bricklaying" where you make walls appear by speaking instructions to a brickie whom you're paying.

      • TheOtherHobbes

        The magic sauce in intelligence is context-awareness. If a prompt is somewhat general ("make me a calculator") an AI should either ask questions, or make reasonable assumptions, or both.

        IME LLMs often make reasonable assumptions, but sometimes they don't and you have to backtrack and say "No, what I meant was..."

        When the process works it's almost magical because the LLM successfully anticipates your needs, and implements your request in a much fuller way than you might have done yourself.

        When it doesn't it makes a mess you have to clean up.

        But generally I've been impressed by how well the leading LLMs will Do The Thing from a brief description, interpolating useful and correct details without being told to.

        Compilers don't work like that. They're translators, not (entry level) inventors with independent agency.

        • js8

          Some compilers can do that, but only in a very controlled way. For example Haskell's deriving or inference of the correct method called on typeclass. Or the Prolog/Datalog/SQL - they will also fill in many details on how to arrive at an answer.

      • coldtea

        >If AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you"

        That would just be the "I" part, since was missing the A for artificial: you asked a naturally made person.

        And yes, nobody argued that they didn't have I in 1978, so I'm not sure what the argument is supposed to prove.

        • ninkendo

          > I'm not sure what the argument is supposed to prove.

          I’m guessing it’s supposed to show that if you have to have arbitrary levels of intelligence to interpret natural language, then nothing’s changed between now and 1978 when considering whether “natural language programming” is a thing. Just because the intelligence is artificial now doesn’t really change the answer.

          • coldtea

            >Just because the intelligence is artificial now doesn’t really change the answer.

            Not only it changes the aswer, it's literally the whole of the question. When people talked of the posibility or imposibility of “natural language programming” they *always* meant "natural language instructions which *a machine* translates to running code".

            They didn't have to spell it out, since nobody doubted a human programmer can write code when given natural language instructions - that was already a thing since ENIAC, if not since Ada Lovelace.

            That's what we have now, and that's what changed between now and 1978 when considering whether “natural language programming” is a thing.

            • ninkendo

              These two statements are distinct:

              - You can program in natural language

              - You can tell an AI what to do in natural language, and it can gather requirements, sketch up a design, write code, search the web for error messages, and iterate on the program until it works.

              For certain things people care about, they’re equivalent (I tell the computer what I want and out pops a program) but for certain other things, they’re absolutely not (natural language doesn’t map deterministically into machine instructions.)

              When people talked about natural language programming decades ago, they were talking about a system that compiles natural language into machine code. They weren’t talking about a system that autonomously gathers requirements, decides what frameworks to use, searches the web to look up error messages, iterates on ideas, etc… these things are so different from “natural language maps to machine code” that I don’t think we’re going to have a useful discussion if you think “I tell the computer what I want” is the only aspect of this worth looking at.

              • coldtea

                >They were talking about a system that compiles natural language into machine code. They weren’t talking about a system that autonomously gathers requirements, decides what frameworks to use, searches the web to look up error messages, iterates on ideas, etc… these things are so different from “natural language maps to machine code” that I don’t think we’re going to have a useful discussion if you think “I tell the computer what I want” is the only aspect of this worth looking at.

                This confuses two things still:

                People wanting to have natural language to machine code via AI, just AI that was implemented the way they thought was achievable then (symbolic AI).

                People wanting to have natural language style programming language, similar to later AppleScript or some 4GL languages.

                Natural language programming, or natural language processing, as it was called, was tied to the first, and the AI research of the time, from the beginning:

                https://en.wikipedia.org/wiki/Natural_language_processing

                So, yeah, they didn't have LLMs, but they pretty much understood such a program or "compiler" would need to understand world facts and natural language to even work.

        • nmeofthestate

          You misunderstood my comment - I meant that if instructing a programmer to program something is "natural language programming" (what AI agentic coding is), then they had "natural language programming" in 1978. I wasn't saying they had AI in 1978.

      • alterom

        > AI is natural language programming then they already had it in 1978, because AI is in fact "asking a programmer to write code for you". And you can even ask them to do it at different levels of abstraction!

        There are a few little differences between human beings and computers that you should know about.

        For example, humans are sentient, have agency and can be held accountable.

        So when you give humans a bad spec, you can still get what you want, because, with some luck, you're simply delegating the task of thinking and making choices to another human, who, by the very premise, understands the language you are communicating in, and can work out your intents with you.

        The whole "this meeting could've been an email" thing, you know.

        That meeting could've been a pull request if whoever needed a thing to be done could figure it out on their own.

        LLMs can be helpful for figuring things out, sure.

        But "sudo make me a sandwich" style of vibe coding is just removing the obstacles to enshrining ambiguities and bad decisions in code.

    • soco

      The latter is also very far from specifying a calculator. And based on what we see in the "Show HN" projects, also very far from what the average person process is of using AI for generating software.

    • alterom

      >You can interact with AI and say "code me a calculator" or "now declare a array of booleans to map to each of the keys in the UI and set the corresponding array position to true when the key is pressed

      And if the latter is guaranteed to be interpreted unambiguously...

      ...Congratulations!

      You have invented a programming language!

      But now, that requires 20x more typing and 1,000,000x more compute to compile to machine code.

      Which is the point of the article.

  • bulbar

    > AI models don't replace compilers, they replace software developers.

    No, they replace the need for a precise description of what you want the computer to do by a mechanism that's really good to fill in the gaps. But guesswork only takes you so far.

    • pastel8739

      Is that not what software engineers do?

      • mettamage

        I recently vibe coded an application fully and tested it with users. So all the functional requirements were there.

        Guess what wasn’t?

        The nonfunctional requirements.

        Also: my app needs to do LLM classification. But instead sometimes the coding assistant wrote not an LLM api call but it wrote a regex to classify instead. This was despite the fact that I mentioned to not use regexes to classify things with.

        Non-technical people don’t know what a regex is. Usually they also aren’t knowledgeable enough about nonfunctional requirements.

        All of this may improve over time of course. But right now, I am not impressed (in terms of replacing SWEs).

        • bazoom42

          Why didnt you vibecode the The nonfunctional requirements?

          • mettamage

            Not needed yet, we needed to capture the UX first to see if we could create what we'd want to create.

            • 0c3ca83

              "it didn't replace programmers because we didn't ask it to" seems like a really weird argument to make.

        • coldtea

          >Guess what wasn’t? The nonfunctional requirements.

          OK, so you test it, see which nonfunctional requirements it doesn't meet, and ask the AI to change the code to include them - repeat until you're happy.

          • mettamage

            Yep and then you'll have some war stories how things break in production because they weren't initially included in the nonfunctional requirements. Have enough of these war stories and you'll basically be a software engineer. Albeit, a software engineer that has never coded before, but definitely someone who understands production issues.

            • coldtea

              >Yep and then you'll have some war stories how things break in production because they weren't initially included in the nonfunctional requirements.

              I have plenty of those in decades of human programming too, so...

            • 0c3ca83

              Today I learned, the difference between an end user and a programmer is access to jira.

      • GuB-42

        It is, but software engineers have a much broader understanding of the problem, they also ask questions, and if they are good, they ask the right questions, something LLMs still have a problem with.

        Personal example of what LLMs can't do, but I could: I made a script to update some version numbers in some files, based on some other files. Simple stuff, and one of my colleagues told me "ask the AI, it will take 5 minutes". Well, no, because the files sit on different machines, and extracting the files from one machine and putting the result on the other machine requires knowledge of the infrastructure. Again, simple stuff, but the AI doesn't know, and we certainly are not going to let it run wild in our network. I know all this because I talked to the team, attended meetings, and did a bit of careful exploration. I am trusted with resources to do my work in a way the AI doesn't, I am sure it is mostly because I can take the blame me if I misuse them.

        • cortesoft

          > they also ask questions, and if they are good, they ask the right questions, something LLMs still have a problem with.

          Sure, but LLMs do ask some questions already, and there is no reason to think they can’t keep getting better at knowing the right questions to ask.

          Humans also often fail to do this well, and I think we all have experience with developers who do a very poor job at understanding what is actually being asked of them.

          Maybe LLMs will never become as good as an expert developer at being able to suss out what someone is actually trying to do when they make a request, but it is certain LLMs will become better at it, and there is no reason to currently believe they couldn’t eventually become as good as the best humans eventually.

    • zzril

      They automate the guesswork about what the spec actually intended, so to say. They don't improve the quality of the guessing.

  • indrex

    You mean the English to code layer is stochastic while code to assembly is not?

    This stochastic nature existed before AI. Humans are stochastic too. Two engineers convert specs to code in two different ways. I would argue the distribution is wider among humans than among agents.

    • nickm12

      As I said, "AI models don't replace compilers, they replace software developers" so yes, I agree that AI models are like humans.

      while both LLMs and humans are not 100% deterministic, I don't think that's the interesting part. It's both true that there are many assembly language programs that implement a C program and that there are many valid programs (in any programming language) that correctly implement a natural language spec. But there's a significant qualitative difference between the two types of translation and that would be true regardless of whether the translations are stochastic.

      • sorokod

        The stement to which we are replying will (has?) launched a 1000 startups.

        It would be interesting to state sane measurments that determine a "distance" between a spec and software that claims to implement it

    • sorokod

      I would argue the distribution is wider among humans than among agents.

      Please go ahead and do.

    • chrisjj

      > Two engineers convert specs to code in two different ways

      So? Two compilers convert source to binary in two different ways.

      • betterunix2

        "Time flies like an arrow" is a valid English sentence that one person can find numerous ways to interpret. A programming language that has the kind of ambiguous syntax that natural languages have would not be useful.

        What makes agents useful is not simply that they interpret natural language, it is that they are interactive and ambiguous instructions can be corrected when the agent's output is not what the programmer intended. That is not the same as writing out a spec and giving it to a developer to implement.

        • chrisjj

          And does the "agent" say when the agent's output is not what the programmer intended?

      • kasey_junk

        The same compiler will convert source to binary in different ways! Hermetic builds are hard!

        Even if we allow for hermetic builds in some cases in many many other cases your runtime will recompile your code based on its observations about your environment and that’s frequently what we want.

        This fetishism of “determinism” seems crazy to anyone that has had to spend time really digging into modern JIT based compilation.

        • chrisjj

          > This fetishism of “determinism” seems crazy to anyone that has had to spend time really digging into modern JIT based compilation.

          Copium.

          • cowboylowrez

            lol I saw the exact same JIT non determinism argument on reddit. The thing is, if JIT cannot replace a hotspot with a 100 percent functionally identical snippet of code then the JIT is just in time wrong and will be either patched, repaired or orphaned.

            So all of a sudden all focus is on the word "determinism", and before even going down this route you have to agree on what aspect of the subject are you declaring to be "deterministic?"

            Its sort of like chatting with libertarians, as soon as you agree that taxation is theft and democracy is tyranny then all problems melt away!

    • DonaldPShimoda

      Arguing that two humans' distinct interpretations of a single specification is stochastic is patently absurd and requires, I think, some shred of evidence.

      I would argue that, in the absence of such evidence, we cannot conclude that the English-to-code conversion process is stochastic; it is merely not deterministic, which is altogether different.

      • CamperBob2

        Would they write the same code, if given the same spec? No? How about over multiple trials? No? Even the individuals' own code would differ from one trial to the next?

        Well, then, their interpretations of the spec are stochastic. Good enough for me, anyway.

        • DonaldPShimoda

          That's not what "stochastic" means. You might want to look that up before you keep (mis)using it in conversations about actual stochastic processes.

          • CamperBob2

            The term 'stochastic' refers to characteristics or properties that are measured and/or understood on a statistical basis rather than on an individual basis, because they are driven or biased by random processes. What's your understanding of the term, if you're not working from a widely-accepted definition?

  • js8

    I think this might be a false dichotomy, because for instance, I think LLMs are programmable in natural language, and they act as compilers, I even think they can replace programmers; but still I agree with Dijkstra, that programming in natural language is a bad idea.

    But I am going in an opposite direction. Instead of rejecting formal languages in favor of natural ones, I think we should embrace formalism even on the level of specifications, requirements and our model of the world. Partly because that's what LLMs actually do - they de facto formalize these things.

  • betterunix2

    > AI models don't replace compilers, they replace software developers

    No, what agents do is expand the scope of problems software developers can solve. It is no different than the introduction of compilers, type checkers, garbage collection, and so forth. A programmer in the 1950s could not have imagined how anyone could build a software system like Hacker News, let alone the complex software systems we basically take for granted in this century. It is hard to imagine what kind of software future generations will take for granted because of how much more power programmers will have with things like agents (and whatever comes next -- this is hardly the end of the story).

  • zby

    It is all about definitions. Writing instructions for llms is a new activity and we can call it as we wish - but I like to think about it as a new type of programming language instead of thinking about it as something completely new, because many analogies do transfer and you can use them to reason about larger systems composed of prompts. It is after all a way to instruct a machine.

    There are differences and the article highlights some of them - but there are difference between programming in a functional language and an imperative one, there are differences between programming for a RISC machine and a CISC machine, there a lots of different semantics that programming languages support. Now we have a language with underspecified semantics.

  • blurbleblurble

    The LLMs don't replace compilers, they challenge the next generation of compilers. And they don't replace software engineers, they shift them into yet another metasystem.

    • betterunix2

      The LLMs use compilers, so I am not seeing the challenge here. Compilers do a lot of useful and important things like type checking and agents will typically check their output by invoking a compiler, then correcting errors reported by the compiler.

      If anything what agents will mean is a move toward compilers for languages with more expressive type systems that can do more static checks for semantic correctness e.g. F*, which is an extension of F# that introduces dependent types.

    • jason1cho

      Why do compilers worry about the challenge? Just call an LLM internally from a compiler if LLMs are better than compilers.

      In my opinion, LLMs don't challenge anything.

      • blurbleblurble

        I think you're missing my point which is more or less that compilers are these original harness and will continue to anchor human-computer interaction as they have always done.

    • 0c3ca83

      > they shift them into yet another metasystem.

      That's a funny euphemism for career change. I'll remember it.

  • chamomeal

    Thank you for articulating this!! This idea has been rolling around for a while but I haven't been able to put it into words.

    I think "I'm working in a higher level of abstraction" is easier for some devs to say than "I asked somebody else to do the thinking and the work." I don't think there's anything wrong with asking an LLM to do the work. But pasting jira tickets into claude is not abstraction lmao.

    I guess arguments on either side of this can get difficult for a reason that another commenter already mentioned: you can use LLMs on a wide spectrum of granularity. You can one-shot a whole project, or you can tell it to rename some vars in a single file. I guess there are uses that are probably closer to programming. But if you're not even looking at the code, I'd say that's closer to somebody else doing the work

    • 0c3ca83

      And if you are looking at the code, you're moving too slow.

      • betterunix2

        If you are not looking at the code your mental model of the codebase will rapidly degrade. Code review serves more than one purpose.

  • Max345

    It's applied to the programming language too - the given source can be compiled to unlimited number of possible machine code representations (it can different just by NOPs).

  • coldtea

    >Dijkstra's arguments tend not to change their minds.

    Maybe they trust the practical results they see over what a professor wrote 50 years ago as an essay.

  • sadilek

    Agree. For me, that's exactly what happened. I work with the agents the way I'd work with a team of developers, not the way I use a compiler. Since the end of September, they've made about 970 commits to a project of mine, and I haven't read a line of its code.

    And like with a team, many programs could meet what I asked for, but I check the behavior of what they built, not the code directly. I think of it as working on the level of an engineering director, who also doesn't review code directly. Each agent shows me its change running in the app, in a short narrated screen recording, like in a launch review for the director. When it's not what I meant, I say what, and it goes another round.

    • juanre

      I agree. I work in a similar way, and it is quite like managing developers. One difference though: I have no compunction against asking them to write incredibly tedious and long end-to-end tests exercising the user journeys with playwright and an actual db and backend. That helps a lot in making it more likely that regressions will not happen.

    • jason1cho

      If you like being a software tester or director, go ahead with it.

      However you can't prevent some other people from working as software developers who write and read code.

      Even with cars, you still walk. Even with factories, someone still craft handmade bags.

      • sadilek

        I can't prevent them, and in fact, I don't want to. Didn't mean to imply that.

    • prmph

      How do you check, from examining behavior alone, that the code does not contain stuff like this:

      if (date == <some random future date>) { crash_and_burn_the_world() }

      ??

      • brabel

        If you are checking every line written by an LLM , what would you estimate is the probability it would ever do this?? I look at most code still and I have a high level of trust that it would never do anything remotely similar to this.

      • lordnacho

        You just get an agent to look for traps.

        I actually found code exactly like that would break a test on a certain date, using an agent.

        It's really good at flagging things like this, which tend to be leftovers from a human process that nobody has had the time to clean.

      • wellhowdoyou

        How do you do that with a human team? Trust?

        • dgan

          "trust" and "responsibility" mean nothing for a fully digital entity who isn't required to feed its family, looking for an eventual new job, and being under pressure for not being fired

        • betterunix2

          Code review, style guides, and a large set of tools like fuzzers that try to check for bad behavior before the code makes it into production. At least that's how it is done where I work and the use of agents to write code has not obviated the need for such a process (in fact we have added agents to that large set of tools and seen improvements in code quality as a result).

  • eru

    > The reason software developers rarely look at assembly code is that compilers (and emulators and VMs) are able to precisely preserve the semantics of the original program.

    'Precisely' is doing a lot of work here. Depending on your language some things might be preserved and some not. Eg if you write stuff in Haskell, you don't really preserve much of anything about memory usage, you leave that to the runtime system to figure out, and exactly how the GC works isn't really specified in the language standard.

zackmorris

I'm going to take the contrarian view and say that formalism without jargon, friction and gatekeeping is just natural language.

I've been going through an identity crisis for a year now as I realize more and more that nearly the entirety of what I know comes down to arcane incantations producing transpilation instead of magic. My tech career was just converting specs from clients and employers into machine code, with extra steps.

To move now at the speed of thought and let AI complete whatever tedium was preventing me from getting real work done has been a revelation.

To the point that I fantasize about the day I can leave tech behind and get back to the human experience. No longer drowning in the unending workload that demands ever-increasing productivity for the same pay, but finally able to say enough's enough and provide time/money/resources for myself and eventually the community at large outside of the hierarchical economy.

If we can't automate our livelihoods with AI, then we don't have anything.

  • skohan

    > My tech career was just converting specs from clients and employers into machine code, with extra steps.

    I guess the thing about that process is, you inevitably complete an incomplete spec. There are always fine details that will never be decided until they're required to complete the implementation.

  • itsamario

    You made it further than most. At least you're realizing our identity is formed off what we know, the more we know the fewer options we have.

    The expansion of knowledge is what ends societies and erodes civilization but produces religion.

    Perspective of the religions is that I is the devil, the unaffiliated individual's perspective as opposed to we. All the religions teach fasting is abstaining from I want and pursuing we need.

    We drive ourselves to the truth of what matters by eliminating waste as much as possible for 6 weeks

  • skydhash

    > I'm going to take the contrarian view and say that formalism without jargon, friction and gatekeeping is just natural language

    Try to define a specific item like the closest cat to you so that anyone, just from reading the definition, can recognize that cat anywhere. You could write a whole book and not be done. Or you could stamp the cat with some id (symbols) in and refer to that. As long as that id is not repeated (rule), the system is ok.

    Formalism is defining stuff, and add rigid rules that are consistent with each other. Once that done, it allows anyone to reach the same thinking location as the original person. Formalism is a knowledge transfer tool.

    > My tech career was just converting specs from clients and employers into machine code, with extra steps.

    If all you did was that, I’m quite sad for you as yourself should have automated your job to remove that tedium.

    I would describe my job as designing a system that respect all the constraints of the situation. Some of them comes from specs, some comes from the technical platform, and some are just future possible interactions. The system is what I modify, coding is just how I do it.

    When I see people abandon their work to AI, the other consequence is that they abandon their control of the system as well. They can’t explain how it works, what’s its reliability, and whether it can be improved (or part of it reused in another context).

  • cluckindan

    Automating things at the cost of our own air and water is slow genocide.

    • tornikeo

      Then stop drinking and stop breathing.

      You spend more of both air and water than a DeepSeek flash does when with an NVL72.

      • goatlover

        You just got to upload your mind to the cloud brah. Then you can live rent free in the tech bros data centers.

    • saulpw

      Well we've been doing exactly this for 200 years! IMO the use of fossil fuels for manufacturing novelty products that go straight-to-landfill, and daily suburban commuting to bullshit jobs, and diverting water to inhabit cities in inhospitable deserts, is a greater cause of our 'slow genocide' than AI will be. So why would we stop now, when we couldn't be bothered to even slow down before? (Annual carbon emissions aren't even trending downward, much less getting to net negative!)

      So while I also foresee and lament humanity's self-genocide, it seems a bit hypocritical to get salty about AI "automation" while broadly accepting our industrial civilization's trajectory.

      • dvogel

        > Annual carbon emissions aren't even trending downward, much less getting to net negative!

        They were trending downward in the US. AI usage in the US did change that single-handedly. I understand carbon emissions are a global problem but since they are subject to political remedies, the solution to the global problem is solving the same problem within each political jurisdiction.

uriegas

I've had the same view since coding agents appeared. LLMs are good for summarizing, thus I tend to use them to understand code. However, the more I understand a code base the more I tend to be more picky with the agent. While the less I know about the code base, the more open I am to let it do its thing.

I've realized that the agent doesn't write 'good' code, instead my vague understanding of what I expect makes me think it does. When I look at the AI code, I see that there are more nuances and decisions that needed to be taken before writing the code. One would say that a spec would suffice, but then I remember TLA+, developed by Leslie Lamport to help developers think critically about their programs/algorithms. Sitting down and formally writing what I want to do helps me better understand the problem and come up with a real -not vaguely defined- solution.

  • diego_moita

    > I've realized that the agent doesn't write 'good' code

    No one writes 'good' code. Everyone only writes 'good enough' code. You should always assume the existence of flaws and bugs.

    You call "good" code the one that doesn't have the mistakes you know. But you'll never know everything, even if you are as smart as Dijkstra.

    • marcosdumay

      Lots of people started commenting recently that good code doesn't exist and everything is the same kind of shit.

      First, it's bullshit, some code is better than others. Also, I wonder what caused that.

froh

I think the difference is between communicating to a purely mechanical being versus communicating to an intelligent entity: unlike programs, which are purely formal languages, we write textbooks and papers in a mix of human language and formal language. often we introduce "just formal enough" notations. and the intelligent reader will read in-between, inter legere literally means just that: reading in between. filling the gaps, connecting the dots.

and in practice I find it _very_ effective to express key ideas with some formal language where applicable. a little ebnf here, some snippets of python or prolog there or other languages there. and I find llms wonderful at filling in the dots and, and that's the topic here, to translate our semi formal conversation into rigorous, formal language.

and I dare one step further: I also find llms useful in formulating and refining technical proposals, for human peer review and llm driven implementation, and of course these proposals mix natural language prose with semi-formal and formal detail. think PEP-12 and PEP-1 style. and these then get work packages which each loop in a spec as in sdd.

seems to work just fine so far :-)

GianFabien

Natural language is full of nuances and implicit cultural and domain specific connotations. LLMs work because they have been trained on massive corpus of materials that encode some (but not all) of those hidden meanings.

With specification driven development, the prompts need to be very detailed in order to produce exactly what is required.

  • skeledrew

    Humans also work because they've been trained on a massive corpus of materials, spanning like an average 15 year period or more. And humans too need to be prompted, sometimes everyday, with meetings and whatnot to produce exactly what is required.

    • LoganDark

      I used to do software dev without meetings. It worked just fine. I would send whatever I did once it was done, and get direction on where to take it next. Maybe this breaks down in companies with more than a few leaders, or where the leaders can't otherwise keep in sync.

      Also gave me plenty of opportunities to go above and beyond. I miss when that felt safe.

      • dahart

        This depends entirely on how well the requirements have been communicated, right? If you could go for long periods without meetings on large projects, it means either you had great PMs or you’re very good at collecting relevant info and planning in advance. Or, it could mean that your target was quite flexible and open to interpretation. I don’t doubt it, and I’ve known some developers who could do what you did, deliver something great without that much back and forth. I’ve also known many developers (probably most TBH) who will focus on problems the customers don’t have and endlessly go down rabbit holes that have no bottom. Heads down software engineering for big-O and data structures seems to be a lot more fun for some people than fixing weird hard to repro bugs with vague repro instructions that customers complain about. Many very good devs still need to check in and iterate and get some steering, especially if the requirements have not been well or fully explained… which in my own experience has been more or less always. ;)

        • LoganDark

          Maybe my definition of meetings is different than yours. To me, meetings are voice or video calls where multiple people talk about progress and direction, raise issues to the others, etc. and the leaders can make calls across the whole team at once. Staying in constant communication doesn't count as much because it's more async and incremental.

          • dahart

            You’re right, my definition sounds different. Your comment left me with the impression that you meant you weren’t talking to anyone. Meetings in my book are any scheduled discussions, regardless of how many people are involved. 1:1s are still meetings.

            • LoganDark

              1:1 meetings are still meetings, but casual messages about progress and direction (without a scheduled time block or synchronous call or whatever ) don't count to me.

      • skeledrew

        Maybe those were some very detailed requirements you were getting, the deliveries were straight-forward, or you already knew the space pretty well. Or you're the only dev there. Somehow most teams just keep tripping over each other and need near constant management to ensure they're delivering what the stakeholders expect.

        • LoganDark

          They weren't particularly detailed, but I did know the space quite well. I was a heavy user of other products of that type, and knew very well what I wanted out of one.

          • brabel

            The problem is that your case is extremely rare. Most people work on systems that they never would use themselves or even know existed if not for working on it.

            • LoganDark

              Wherever I work, I try to turn the system into something I would use myself. I am not always successful in this, but it drives a lot of my UX decisions, and it seems to work fairly well.

      • andsoitis

        > I used to do software dev without meetings. It worked just fine. I would send whatever I did once it was done, and get direction on where to take it next.

        You didn’t collaborate with other engineers? Or what if the spec you were given was unclear in places? Forgive me, but the style you describe sounds incredibly collaborative, super transactional.

        • LoganDark

          Funny story actually, there were a few other engineers but not very much collaboration. They were resistant to sharing source code or algorithm details, so I had to essentially reverse engineer how their other products worked. I was good enough at it that I came up with several features they didn't know were possible. They eventually ended up letting me go and cloned my design, which I thought was weird, but it was developed for them in the first place so not a big deal.

          • Exoristos

            The lengths to which devs will go not to collaborate.

            • LoganDark

              To be fair, it's a very secretive industry, and betrayals are quite common. Worse, a lot of those betrayals are done on pure impulse without even thinking through the consequences first, so you can't actually build incentives against it because they'll just be ignored.

    • skydhash

      > Humans also work because they've been trained on a massive corpus of materials,

      Massive? My introduction to programming (from noob to beginner level) has been like only 10 books worth of content. Including some alternative pathways like 3D, security, system administration,... To this day, I don't think I've reached 50 books of materials. And If I counted everything it would be still small.

      Human learning is very efficient (not time wise, but cost wise, and even training data wise).

      • skeledrew

        You're forgetting all the schooling before that, which taught you how to read, do math, etc. And the general daily experiences of just being a human being interacting with the world. Magnitudes more data taken in than any language model.

        • DonaldPShimoda

          > Magnitudes more data taken in than any language model.

          Ah, yes, I can fondly recall reading and internalizing every word available on the internet when I was young...

          • skeledrew

            You should check out how much raw data just your eyes process for every second they're open (although a significant amount is discarded before it gets to the vision center, but still). Then consider the other senses also constantly doing their thing.

            • LoganDark

              The vast majority of people don't internalize most things. Some internalize even less. It can become a big issue with things like dissociative disorders. (I have some experience with that)

          • nvme0n1p1

            A picture is worth a thousand words. How much video data was your brain trained on?

      • senordevnyc

        Only if you ignore the billion years of pretraining…

  • groundzeros2015

    Yep, LLMs work to the degree you don’t care shout the choices made. That’s why it’s great for demos and starter templates.

    But for mature software eventually every single detail matters.

  • montag

    After reading this essay, I wonder: what if program code was withheld from training data? Then how useful would LLMs be for programming?

riknos314

> I suspect that machines to be programmed in our native tongues —be it Dutch, English, American, French, German, or Swahili— are as damned difficult to make as they would be to use.

He's still quite correct. I generally see a machine as being "programmed in" whatever is tracked in source control. So as long as your git repo is tracking changes in Java, that's still programmed in Java, even if the Java was generated with the assistance of LLMs. I may consider the thesis of this article invalidated only when the majority of repos start tracking natural language rather than programming languages as the primary artifacts defining behavior of the software.

  • zzril

    That would be one definition of "source code". But then there's also the definition by the Free Software Foundation as "the preferred form of the work to making modifications to it". As prompting LLMs becomes the preferred form of making modifications, I wonder if a lot of open-source repos will unwillingly become "closed (prompting) source" over time, with intricate legal consequences.

    • benrutter

      I still don't know if I'd agree with you. I think:

      > the preferred form of the work to making modifications to it

      Implies what you point to when you want to know where to make changes.

      That wouldn't be a prompt - you might use a prompt to make changes, but the thing you're making changes to, certainly at present, is your java/python/rust++ /whatever codebase.

      Lots of projects, even fully vibecodes ones, don't push and include prompts in their repos. But they all push the java code (sticking with java as an example for the sake of argument).

      I can't imagine that working on a project where the java code is omitted, and people make changes to the software just by editing the prompts would go well. It's an interesting thought experiment, but I think you'd find it very hard to work on any kind of team where that was the practice.

      • zzril

        > Implies what you point to when you want to know where to make changes.

        Where do I point to when I want to know this? On a large and mostly LLM-generated codebase, I might dig through the code myself to find what needs to be changed where, but I would probably prefer to ask an LLM to do this.

        Now if I had access to all previous prompts that were used in generating the codebase, it might very well be the case that I would prefer to work by changing those prompts and generating the whole thing again. In that case, the LLMs would basically turn into a compiler and the prompts would indeed become the new "source code". This is clearly not (yet?) a common approach to software development, but I wonder if it may become. Or should.

        If one uses LLMs to generate the code, and others need LLMs to read the code, isn't this awkwardly close to someone publishing only compiled binaries and others then having to reverse-engineer these binaries in order to know where and how to patch them? Maybe the handicap is less grave, as the difference in strength of LLMs understanding code vs writing them isn't as huge as of decompilers decompiling vs compilers compiling code - but I think this difference still exists. It's still an advantage to have knowledge of the "secret" prompts that were used in generating the code.

  • jasomill

    True, and as such it needs to be considered like any other code output from a one-off code generator, with at least minor added risks from non-determinism and, in the case of LLM-as-a-service, potential lack of model availability in the future.

    This means maintainability is as important as it is for hand-written code. Which varies, of course: there are plenty of valid use cases for one-off throwaway code. Just don’t assume checking in slop is suddenly cost-free “because AI”.

bawolff

>And even this improvement wasn't universally appreciated: some people found error messages they couldn't ignore more annoying than wrong results, and, when judging the relative merits of programming languages, some still seem to equate "the ease of programming" with the ease of making undetected mistakes.

That could just as easily be written today

imhoguy

Todays natural language program won't work tomorrow due to unstable nature of natural language.

Apart of natural evolution of meanings, look at Orwellian limitations some (cloud) models impose on is that our natural language program become illegal. Due to topic or combination of words the program needs to be flagged and soon likely reported to three leter agency.

Next, RMS would ask: can you make your own natural language program compiler from scratch? I know we have (very expensive) local models, but wait until GPUs get a propper online subscriptions to work and surveillance taps.

hintymad

What Dijkstra said still holds true, and the essence is consistent with Brooks' discussion on essential complexity vs accidental complexity. I do think one thing has changed, though: when someone asks AI to implement XXX with very vague English, the implicit ask is picking the best[1] ever solution that someone else has done to solve XXX. For instance, if I ask AI to extract the Japanese subtitle of Shirojima show and convert it to an epub with all the nantural and cultural explanations, I was assuming that AI will fill in the blanks and do a good job and AI did. This won't help expert, but does it matter? Being good enough can be good enough to take away many people's jobs.

[1] For many people, the result is actually the mean not the best, but it's another topic.

peterbell_nyc

From a pragmatic perspective, I'm with Djikstra for a very specific reason.

Clearly it is possible to "program" in natural language. I have one- and few-shotted a number of apps that meet my requirements.

Generally as the number and complexity of requirements grows it becomes harder to parse them if they are in a poorly structured natural language format.

I can't think of a time that I have provided specifications in natural language with sufficient rigor that if I was to run the prompt ten times, the ten generated programs would look identical or provide exactly the same outputs for the same inputs under all situations.

Whenever I find that I need the rigor such that the code could be considered to be a cache, not an authoritative artifact, I find domain specific languages to help me to ensure the comprehensiveness of my requirements around the dimensions that I care about.

I also find such structure to aide collaboration with other humans trying to understand or extend such specifications.

So I think for code to become ephemeral, for substantial pieces of software that require the documentation of many complicated requirements, writing such specifications in natural language is not the best interface and would require substantial support from LLMs to project them in ways (flow charts, UX demos, etc) that humans could reliably understand and mutate them without introducing regressions.

But we'll see. Last year I still thought git was an appropriate version control system to use!

scoofy

I actually wrote a thesis on this in graduate school, and completely disagree with the author.

The problem with this argument isn't that natural language programming leads to vague/ambiguous code that would lead to errors. The problem is that the machine does not inform you of the ambiguity. Rational humans do just fine when they interact because they can identify these problems. Programming would work just find if context were identify and clarified while the code was being written.

If I were to tell a program to "buy political ads in Portland," yea, the point is that the program would need to know which Portland I mean. Otherwise it might accidentally think I mean Portland, OR, instead of Portland, ME:

https://www.yahoo.com/news/politics/articles/25-000-mistake-...

Humans can do the same thing if they're not being careful. The point is, the vast, vast, vast majority of time, someone would just say "wait, you mean Portland, Maine, right?" and you'd say "yes" and that would be that.

mpweiher

Possibly relevant:

The experiment in designing a language that resembled natural languages (English and Japanese) was not successful. -[1]- William R. Cook, AppleScript, HOPL IV

Now our new LLMs are different, because they don't use "language the resembled natural languages", but actual natural language. But the lesson is instructive nevertheless, because it gives us some empirical evidence to compare to Dijkstra's theoretical arguments.

And this is that natural language is at best a two-edged sword. Yes, there are benefits, but there are also huge drawbacks. And one problem is that the benefits are front-loaded and the drawbacks are long-term problems.

To me, one thing we are missing is that what LLMs do for us actually has 2 parts.

1. It allows us to use natural language, allowing us to be fuzzy.

2. It allows us to specify what we want at a much, much higher level than usual.

With our LLMs, these two are intrinsically linked. I think the whole would be much, much more valuable if we could separate them.

[1] https://dl.acm.org/doi/10.1145/1238844.1238845

bob1029

NL programming is foolish to me not on technical grounds but on practical ones. It is most valuable when the business wants to understand how an already working thing does its job.

I have observed several samples where the business, when provided with a natural language configuration opportunity, will wind up staring blankly at the textarea until the original developer gives them a complete starting point.

I don't think "natural" language makes much of a difference unless you are already skilled in the art of developing useful engineering specifications. I often have to babysit the business through very basic boolean algebra concerns despite everyone having 3+ decades experience dealing with this stuff. Making everyone speak python could only make this worse, not better.

I use HN to keep myself warmed up on natural language expression. The difference between developers who post here prolifically and those who barely write one email a month is fairly shocking in my experience. If you intend to use a specific instrument to accomplish a complex task, you need to practice it constantly. Ideally every single day. There is no substitute for this. There never will be.

  • skydhash

    > I have observed several samples where the business, when provided with a natural language configuration opportunity, will wind up staring blankly at the textarea until the original developer gives them a complete starting point.

    A lot of people lack “system thinking” when they can break down something into a set of elements and describe the relation between them. Once that done though , they can understand a part and manipulate it.

    For some “system thinking” is innate. It can also be learned. But it’s a required quality in engineering where you need to create a solution where there was none.

wseqyrku

LLM interfaces on everything these days equate to touch screen on cars. It is definitely a useful tool, but generally speaking, that's not how you'd talk to your computer.

ThrowawayR2

Dijkstra elegantly explains why AI systems are effective at mathematics and programming but much less effective when writing prose or other realms where what is good is nebulously defined:

> "The virtue of formal texts is that their manipulations, in order to be legitimate, need to satisfy only a few simple rules; they are, when you come to think of it, an amazingly effective tool for ruling out all sorts of nonsense that, when we use our native tongues, are almost impossible to avoid."

wawhal

This feels so incredibly relevant for today. This also makes me think about the cognitive delegation problem - structured interfaces in machines and structured methodologies in mathematics helped humans build structured thoughts to express abstract intuition. With machines starting to speak natural language, it's probably not too far fetched to say that humans will eventually stop organising their thoughts, which will turn their thoughts into a kind of brain fog.

  • plastic-enjoyer

    Isn't philosophy the best example that you can organize your thoughts in natural language? Of course, there is the tradition of analytical philosophy. However, the vast majority of philosophy was and is written not in a formal language.

    • zzril

      When comparing it to math, this always felt to me like a clear limitation in philosophy, though. Just look at how philosophers try to argue about "logic", compared to mathematics' elegant descriptions.

teleforce

>We would need all the intellect in the world to get the interface narrow enough to be usable,

It seems Dijkstra is describing potential calability of LLM model trained on published collective human knowledge enabled by the Internet

>and, in view of the history of mankind, it may not be overly pessimistic to guess that to do the job well enough would require again a few thousand years

Since the article was written in 1978 (about 50 years ago) and from the time the computing resources of CPU and RAM has increased exponentially until the LLM first appeared in 2020s, it seems the thousand of years prediction is merely several decades accelerated by the rapid advances of computer and communication systems technology spearheaded by companies like Nvidia.

betterunix2

The most obvious reason natural language is a poor choice for programming is ambiguity.

Time flies like an arrow.

I saw the parade coming through the window.

For small programs that basically duplicate something else with a few tweaks, sure, natural language can be fine. "The same thing as A, but with a red border, and add a new button to do X." Beyond that things start to get tricky.

Interactive programming has far more value than natural language programming, and agents also give you that. An ambiguous natural language spec. that leads to the wrong result is less problematic when you can interactively correct the problem; "No, that button should have been on the left hand side." It is the new version of REPL.

nickabe

Yeah - in my own personal experience building AI products this still holds true. And you can see it in the way they behave themselves, they don't really write prompts for themselves to use in the future (say CLAUDE.md) when they need the output to be deterministic. They write code for it, then write tests around that code, then fix the bugs in that code.

Yes it all started with "natural language", but even AI has an understanding that you need more structure than natural language when you want deterministic results.

MantisShrimp90

My take is that this is largely right. To be specific though, I feel the future is natural language commands that will be translated into a proper language through llm systems.

In this way, the generated output, whether used as a proper program or just some scripts to do small activities, they can be audited later, reused, and tested even if a client created the request in plain language.

We would then mostly be translating bugs from english to the underlying language and bugs would mostly be people speaking ambiguously or just misspeaking

hbarka

There’s em dashes in that 1978 article.

tcallred

"...some people found error messages they couldn't ignore more annoying than wrong results, and, when judging the relative merits of programming languages, some still seem to equate 'the ease of programming' with the ease of making undetected mistakes."

What a spot-on sentence.

Painsawman123

Programming in natural language still doesn't work, Btw! whenever you're using a Ml model to either autocomplete code or as an agent, you're not really programming in natural language but "delegating" in natural language!

The old skeptics weren’t wrong about the foolishness of natural language as a programming language, it's just that they assumed the only possible intermediary way to "write" code was something compiler-like! they never really thought about a future where ai would become good enough to translate natural language instructions into runnable code

jeanpah

This article shows every now and then, and it's a must read. Indeed the natural language programming requires massive clusters of gpus just to make a half baked crud app

GarnetFloride

Fun fact: there are over 600 definitions of the word "run" and over 400 for "set". But yeah, English is really precise enough for programming.

How many times have we seen that there's been a spec for something and the programmers write something that is exactly like the spec said but was completely wrong?

keeda

Programming happens in code. Software development happens in natural language.

Dichotomy solved, let’s go get lunch! ;-)

xyzzy_apps

The human equivalent of LLM could be to build a wiki / semantic graph of all algorithms, tutorials, framework docs, stdlib docs and attach a make file at the end each node.

I've been stating it elsewhere, attention has made English into a context aware sensitive programming language by resolving ambiguities through anaphora and coreference resolution. Inform7 did limited anaphora resolution - it - but LLMs are able to resolve "move that file to this folder".

anonymous908213

> (You have only to look at the indeed alarming amount of on close reading meaningless verbiage in scientific articles, technical reports, government publications etc.)

It is perhaps for the best that Djikstra did not live long enough to witness this problem become orders of magnitude worse.

kikdij

His point is moot. His argument considers that natural language would be the direct expression of the program. It's not. It's an abstraction layer, that is then converted in formal language. He could have foreseen that, given he takes explicitly the example of machine code and high-level languages. High-level languages do not replace machine code, they translate into it. Just like natural language programming translates into high-level language.

  • ifdefdebug

    What do you commit? As long as you commit high level code to your repo, you are still programming in that language. You don't commit machine code because you know it will be always the same after compiling. And it also doesn't matter that you are using very high level tools and basically don't ever look at or even understand your programs any more.

    • kikdij

      I don't think reproducibility is relevant, here. Otherwise, even your compiler example doesn't stand. No, machine code is not always the same after compiling high-level language. First, it depends on compiler. Clang and GCC won't produce the same output. Then it depends on the version of your compiler. GCC-9 and GCC-11 won't produce the same output. It obviously depends on the architecture too (arm vs x86), but even then, it depends on details about current configuration of the system you're building it on (CPU flags, hardening, etc). And then of course, there may be things randomized on purpose at each build, like randomized memory addresses to make the binary less exploitable.

      • ifdefdebug

        Yeah I should have been more precise. What I was suggesting is that the behavior of the machine code will be always the same after compiling (assuming no compiler bugs).

        Anyway, my work process is as follows: I have the agent write the code, and describe it's purpose etc. via comments so another session can later pick it up easily without me having to explain everything again. That's what I commit. Sometimes I even look at the code :)

        What else could I commit? At the current state of the art, I could commit the whole natural language session that lead to the code, instead of the code. When I later check this out in a fresh environment (without the artifacts the LLM putted out), I'd just load the most recent version of the conversation as an initial prompt. Or I could want to check out the conversation at a point two months ago and rebuild the program from there.

        Would that produce a program with exactly the same behavior? I don't know. But if it doesn't, the essay's argument is not moot. Not yet ...

        • kikdij

          Interestingly, it _is_ possible to get the exact same output from the exact same input with LLMs. For example, with llama.cpp/llama-server, you can set the temperature to 0, define a seed for the randomizer, turn off caching so it doesn't mess with the inference, and you would get the exact same result every time. But it's largely an academic distinction, because 1/ change a letter in your prompt, and it's over… and you're certainly going to want to change your prompt at some point, and 2/ model publishers have recommendation about the temperature setting, usually between 0.7 and 1, so your reproducible results… might be terrible at solving actual problems.

          That being say, I really like the idea of committing our prompts. I can see a possible future in which that would be our work: write precise specs so that you can generate the program again with an other model, in an other programming language, and get the same behavior. Which sounds a hell lot like… a RFC. :)

          We may be the culprit here, by the way. Maybe the only thing missing is us taking "prompt engineering" more seriously. It would be specification writing, really, or protocol design. I think it might already be possible, from an experience I had. I made Codex write a POSIX vi implementation from POSIX ex/vi specs. It took it a week-end, but I now have a POSIX vi, with only added on top multilevel undo/redo and syntax coloration, and without the baggage and instability of nvi2, I'm an happy man. I've been using it for more than a month and still have to find a fault to its POSIX implementation (and there are _a lot_ of details in POSIX vi specs). I think models are already there, when it comes to implemented behavior predictability, it's just us who are not precise enough in our specifications.

  • diego_moita

    True, in part.

    Consider the role of a Business Analyst, in corporate environments. He is the person that talks to stakeholders and users and translates their "natural language" wishes into piles of semi-formal language (UML anyone?). Later on this will become fully formal language.

    But I think Dijkstra point is more that we can't fully automate this process and let the machines do the formalization thingy. I used to believe that but I've seen LLMs doing things that really, really surprised me.

    In the end I still hold hope in the old saying: "make a something idiot-proof and someone will just make a better idiot". We see LLMs doing magic if they're used by people that know what LLMs are doing. I never saw LLMs doing magic in the hands of idiots.

piro0919

I built a music player by talking to Claude Code in Japanese, and I can barely remember a time when words failed and I had to fall back to code. For example, I asked it to "keep the sidebar's shape, but add margin on the top, left and bottom so it looks like it's floating a bit — you know what I mean?" and it got it right on the first try.

computerfriend

I am surprised that cs.utexas.edu uses a TLS certificate chain who's root is eMudhra's "emSign Root TLS CA - G1".

Brian_K_White

Natural language as code has existed for thousands of years. Today we call it legalese.

It's excruciating to write, excruciating to read, and even legit geniuses with decades of hard won experience still leave room for essentially infinite interpretation. laws and contracts are all still swiss cheese and can be made to demand or prohibit whatever the party with the most money or other influence wants.

  • AgentMatt

    If law was code, there would be no need for judges to make decisions. Instead, a "judge" would be someone making a mechanical derivation of the judgement given the situation and the law.

    The law is rather a complex set of guidelines which need to leave some space for interpretation, so that additional relevant information for the situation at hand can affect the decision.

    • Brian_K_White

      Law is literally code, and xml in the sense that it attempts to define itself as well as it's payload, and everything you said was exactly the point.

      What is a sandwich?

      • ButlerianJihad

        > Law is literally code

        Only the legislated part of law is codified. In our American common law system, case law is, by definition, uncodified. So what judges are doing, is taking the codified legislation, and applying case law decisions in layers on top, to reach a final decision.

likoya

I find c++ very unnatural, since it's a giant collection of small rules in the end more complex than assembler. I can't remember the entire sintaxis, zoo of function decorators, undefined behavior, intrinsics which are just labels over asm instructions, Code golf sintaxis...

  • chrisjj

    A student one told me he wad struggling to get his head around C++. I advised him to stop, since success would leave his head in an unusable shape.

tempodox

Nature mints new fools every single day and they all know better than to be informed by past mistakes or — god forbid — anyone using their brains.

darrinm

App stores are approving an order of magnitude increase of new apps because people are now able to create them using natural language. End users are deriving great value from them. So this is settled?

Magicrafter13

We should have listened.

xiaoyu2006OP

A really interesting read in the current era.

jonstewart

All I gotta see is “utexas.edu” and “(197X)” and I know it’ll be a banger that’s still relevant today.

anthk

Inform7 disagrees; altough you can use Inform6 which is like a really simple OOP language to create text adventures.

  • beej71

    I appreciate inform7 is quite human-readable, but it's not free form.

timonoko

We are now totally there: Programming With Natural Language.

I could only describe the "look and feel" of the ESP32-algorithm driving a sewing machine: "Snappy but not jerky, linear at low speeds, but accelerates fast".

Antigravity made it perfect but incomprehensible for a hewman.

veqq

Another article on this topic https://alexalejandre.com/programming/no-end-of-programming-...

mjb

And yet, the specification of almost every program in existence was communicated in natural language. At least between the customer and developer.

This argument makes the implicit assumption that humans are uniquely able to convert between this "customer wants a program that solves their problem" level and compileable code. That was a reasonable thing to believe in 1978, but is not a reasonable thing to believe in 2026.

  • likoya

    Once an employer asked me to automatize his work, so the task that he did in weeks was done in seconds. I made a gui that showed every step he did manually, so he could check and understand every step. And yet he became confused and lost track of what the program was doing. He frequently asked me the very concepts he taught me so I could do the program. I just implemented exactly his specification. I didn't created any new concept, but as soon as the task became automatized, he stopped understanding.

bitwize

Dijkstra's epigrams have not aged well. He once mocked software engineering as "how to program if you cannot"—but this too is a solved problem thanks to AI.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection