Something really bothers me about the "it's just another higher-level abstraction" argument but I can't quite nail down what.
Using an LLM is a completely different experience from moving to assembler to C, or C to Javascript. The nature of the activity you are performing in those transitions in the same, moving to an LLM is not. Even if you are writing in Javascript, you are still modelling a problem on to some representation in code. The only thing that is abstracted from you is memory management, a technical detail.
With an LLM you don't model the problem at all, you let something else do it. Moving from an low-code app builder to an LLM is a higher level of abstraction. Moving from writing code yourself to having an LLM write it is something different entirely.
(Though the author seems to be advocating against that style of usage, which I agree with.)
One thing I hate about the "it's just another higher-level abstraction" is the indeterminism. I don't understand or think it's reasonable to understand lower levels of abstraction given their complexity (but I have occasionally dug into niche cases when it's bit me and appreciate the ability to do so) but... We're shifting from a place where we use compilers to hide complexity to read and write at a rather concise portion of the stack to LLMs that allow us to write concisely but make us read pages of crap we shouldn't need to inspect.
If we had an LLM-like deterministic tool where our codebases just turned into the prompts (with the tuning to make everything right) and software dev turned into maintaining and designing those prompts I think we'd be in a much better place than we are now where we're making simple statements that should turn into complex machine code certainly - but first end up being saved for recall as partially interpreted verbosity... I never wanted to program in Java Bytecode and nobody sane ever made that proposal, but that's sort of where we are now.
The difference lies in one’s ability to reliably reason about the relation between the input and the output behavior.
With the classical abstractions, you can predict with high precision which changes in the input (source code) will map to which changes in the behavior of the output. You can play through different modifications of that input in your mind, knowing what they will mean for the output.
With LLMs, you can only vaguely and unreliably predict what any given prompt, or modifications in a prompt, will map to in the output. It has some aspects of a slot machine. This significantly curtails one’s ability to reason about that input-output relation, and to reliably predict properties of the output.
(This isn’t about determinism. A deterministic LLM still cannot be usefully reasoned about, while a compiler outputting machine code with random variations that however maintain the programming-language semantics can. LLMs don’t have well-defined language semantics, and also don’t reliably adhere to natural-language semantics even when it’s clear.)
With an LLM you don't model the problem at all, you let something else do it. Moving from an low-code app builder to an LLM is a higher level of abstraction. Moving from writing code yourself to having an LLM write it is something different entirely
This isn't an experience that's intrinsic to LLM. You can let it model the problem for you and your prompt just indicates the problem scope, or you can use LLM to explore the problem scope, evaluate architectural candidates, write yourself the model spec and then assist agents in implementing them by steering.Also, abstraction levels don't scale linearly or even in the same dimension. Going from assembly to code and then from code to prompts isn't supposed to be similar. Prompts also do so much more than just code that you can't even compare these two approaches to code crafting directly, and still they are different levels of abstraction.
What finally clicked for me was a slide at an MIT presentation. It stacked up the "layers of abstraction": machine, assembly, c, python, English.
And next to the bottom 4 was a bracket labeled "Rigorous thinking required". And next to English was a bracket that said "Rigorous thinking optional".
And there's also the fact that an abstraction does two things:
1. Simplify the interface. The messy details are hidden.
2. Restrict ability. You can do more things in the lower level abstraction than you can in the higher one.
English fails both those tests, IMHO.
I don't really see LLMs as a 'another layer of abstraction' because the relationship they have to the result is one-way. An abstraction (in the CS sense) is inherently bidirectional, it can be interpreted both in terms of the abstraction itself, but also the details of how that abstraction is implemented. With LLMs we only really get the latter (and only then sometimes). There's not really a separate artifact. Sure, conversation history could sort of be considered that, but it's not really a helpful one and I'd be very surprised if anyone is saving their conversations for that purpose.
People might say 'specs' are the artifact, but I disagree. Specs are a description of the abstraction, not the abstraction itself.
> With an LLM you don't model the problem at all, you let something else do it.
You don't _have_ to model the problem at all (for short-term wins), but I would argue that yes, you do still need to model the problem in full if you want to most effectively use LLMs in development long-term.
Any time you just let the LLM drive you're going to lose your own understanding of how the code works, lose any sort of personal pride/connection over what you've built, miss opportunities on the meta-decisions of _why_ things are structured/built in a certain way, not set up the architecture for future goals, etc etc.
People have been conflating delegation for abstraction.
Abstraction in a CS context [0] is not the same as asking someone to do something for you. You'd never describe management that way.
[0] https://www.pathsensitive.com/2022/03/abstraction-not-what-y...
It depends on how you use the tool. If you say "build me a program that does x," you are correct that the abstraction is very different from your assembly->C->Javascript example. But, you can also work with an LLM on the architecture and structure of what you're designing just like with code. "Build me a relational database table to store z and let's review the design." "Build me a state machine representing these 7 states and I will describe the possible transitions."
The fundamental thing is that no matter which programming paradigm you used in the past, whether it was assembly, C, Python, or Perl, you always had to have a map of the basic logic in your mind. IF X, do Y. X+Y = Z. It was harder in assembly, easier in C, and still easier in Python to type, but the logic was exposed. You always had to either type the logic yourself or put pieces of other logic together.
The LLM, bypasses that, and creates some type of logic that works to fulfil a task, but it may not be the logic we wanted to create.
Rich Hickey has the/an answer for you: https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e/
AI is not a tool, let alone an abstraction, it is an automation.
Also discussed at https://news.ycombinator.com/item?id=50060269
> Even if you are writing in Javascript, you are still modelling a problem on to some representation in code.
Not the way I used to code. I modelled the problem on to standard patterns then wrote that by hand. I still have to do that but explaining this thikning to claude is my thing. Then some back and forth and then finally coding. It helps to get a monumental amount of work done. I never understood why people got hung up on languages. Personally i wouldn't bother with advanced features beyond loops, if-else, functions etc in most languages.
It’s management unironically.
You trade off control and visibility for leverage. As you add more people/agents you get more leverage with yet more abstractions at each management layer.
I disagree. Writing code is a combination of specifying both the "what", and "how".
LLM driven development simply abstracts that a layer higher to eliminate the need to describe the "how".
In the same sense that I don't want to have to describe the assembly or bytecode some function should generate, I'd also prefer not to have to manually fill in the function definition at all.
Plato initially defined man as a featherless biped, and was famously refuted with a plucked chicken. For a two-word definition of humans today, I’d go with “social tool-user”; which is to say, tool use is a very deep part of our psyche and could be quite a complex phenomenon that simultaneously defies simple description yet feels like an obviously simple concept to us.
“Higher-level abstraction” captures part of what it is to be a ‘tool’, as does “deterministic”. I think a key property of tools is that they become an extension of your body. A carpenter does not look at the hammer as he swings it, he is not trying to see how the hammer reacts to being swung. It becomes part of his body, a new end-effector replacing and extending the previous end-effector, his hand, and operating at the same pre-conscious level. The hammer-hand-man symbiote then enters a control system feedback loop with each nail as he hits it, watching how the nail reacts and adjusting, without the nail ever becoming part of the symbiote’s ‘self’.
From this perspective, I claim a compiler is a higher-level abstraction that can become an extension of a tool user, while an LLM is a higher level abstraction that cannot (perhaps because it has a little bit of its own agency).
Programming languages all the way down to and including machine code are specifically designed to be deterministic and to be formal languages for constructive (math/logic concept vs law of excluded middle) algorithms.
Statistical models are both non-deterministic and non-constructive (math/logic concept, assume law of excluded middle, and on top of that axiom of choice)
"Computer algorithms" have also had to already face that possibly P != NP.
Both are expressible as formal mathematics, but they are about as different as CPU register integer math and floating point math.
And LLMs come down on the other side compared to programming languages.
> With an LLM you don't model the problem at all
You don't. I do. I do spec driven development using AI. I iterate on spec documents until they outline precisely how I understand the problem space and the solution, before letting AI implement the specification. The step of implementing the specification is essentially like compiling the spec into source code, before passing it to the actual compiler to produce machine code.
In my workflow, the specs really are just an artifact at a higher level of abstraction from the source code.
I read LLMs as non-deterministic software for software, as in the relationship is similar to software <-> hardware, but it's floaty. It reminds me of shooting a soccer ball and having a general intuition of where it's going based on my understanding oh physics, my own body, the ball, other players and the field.
I happen to be very bad at soccer, the ball could go anywhere.
> Something really bothers me about the "it's just another higher-level abstraction" argument but I can't quite nail down what.
I've been thinking about this and I think the main difference is that with abstraction as we had them you can inspect them. For a given input you can examine the output and develop trust in the attraction. In math proofs more or less show why certain tricks and shortcuts works, L'Hopital or the power rule to differentiate a function.
The outout of an LLM is not deterministic and thus it break the ability to inspect the output and develop trust in the abstraction. And thus I don't even think this qualifies as an abstraction!
The analogy would be a C compiler that for a given C input has the ability to generate an infinity variety of assembly and machine code outputs!
So yeah, I think considering LLMs as an abstraction is a misnomer.
Could it be that compilers take standardized input, give deterministic output, and aren't capable of hallucinating, none of which can be said for LLMs?
In my opinion it's because it empowers one to operate one abstraction layer up, but at the same time it also empowers one to delegate their work entirely. The previous abstraction layers you mention primarily empower one to operate one abstraction layer up while still needing to do the work themselves.
So how much of an abstraction layer LLMs are comes down to how a person ultimately uses it. Is it for abstraction or delegation? It's a spectrum, so one could be using it for both at the same time.
Trying to frame it as abstraction is false equivalence to begin with.
Bringing an calculator to advanced math exam, is an act of skipping doing the numerical calculations yourself to be able to focus on higher level detail.
If I brought the professor, and asked it "here's the problem, answer it for me" and give the professor the exam, is not an abstraction, it's delegation.
In a sense you can claim that the two concepts overlap.
In my mind there's just two group of people with different incentives trying to argue over semantics when it's a smokescreen for incentives:
One team code to get things done and can't give 2 shits to understand it(people that go to college to get a degree; not to learn). For them, there's no separation (for their own self interest).
The other team thinks understanding is part of the job, or at least their responsibility. These are the ones that got curious about assembly even if all they do is write python, because curiosity. (the ones that went to college to learn)
Team one is winning because, in the real world most people really only care about getting shit done, understanding is just an pesky process
The thing with the LLM that is different is the fact that it requires a feedback loop through the human operator to perform as expected.
A C compiler is entirely feed-forward in that it isn't expecting you to double check some things and turn the crank one or more additional times.
The way to compensate for this is with code review. If manual code review is drowning you, employ the same leverage you do on the coding side. The control for the code review robot is the QA server, which might have a E2E testing robot. The control for the E2E testing robot is the customer's test server which definitely has someone from operations testing diligently (if they use AI they are still on the hook per contract).
What is the probability that a pipeline with that many stages of validation would still leak something bad to production? The principal leverage with LLMs (when used correctly) is that you can push the responsibility all the way back up the stack to the customer in a direct and immediately actionable way.
My definition of a tool is something I use to get a result or worse, but not better. For instance, when an artist uses Photoshop tehy already have an image in their mind they want to reproduce, and they can get that or worse. With ai you can prompt and image and get something you never imagined. In the case of grh the author himself said that in the last part it was just claude and the result surprised him. You can use ai as a tool and get exactly what you want. But you can get something completely new that didn't exist, and that is not a "just a tool".
I’ve come around to using LLMs to write all of my code now, but I still have that same feeling. I think it’s because of the nondeterministic nature of LLMs and how that’s the opposite of how basically everything in programming (tools, compilers, design) has worked for my entire career.
> With an LLM you don't model the problem at all, you let something else do it.
I ran enough experiments (with chatGPT/Claude, even astra/opus/fable) to realise this is not true. You start with something, then if you keep on "accepting" the ideas or the direction, you end up with something completely different. Which could be fine for some people who don't know yet what they want to do.
> Moving from an low-code app builder
I'm not even sure that's true. I once went down the path of "use low code to speed up development" to build a business application and ended up basically doing an awkward, GUI based variation of software development. I still had to reason about data models and how the data fitted together, I still had to think about logic - I just had next to no ability to refactor and no version control.
LLM driven development is very different to that.
> Using an LLM is a completely different experience from moving to assembler to C, or C to Javascript
not so far from moving from development to management though
> With an LLM you don't model the problem at all, you let something else do it.
You decide how much control you want the model to have.
Exactly.
If it were just like moving from assembly to compiled languages (it's not!), then the following would be true:
* The new source language is natural prose. Has anyone ever heard of a worse language for programming?
* The compiler is non-deterministic. This is a very undesirable property of a compiler.
* The compiler cannot be reliably interrogated as to why it produced the output it did. This is a very undesirable property of a compiler.
* Future maintenance happens in both the source and the compiled code. This is a mess!
* Most compilers are proprietary and run only on very very expensive hardware, usually entirely under the control of an evil entity. This is insane.
How people can argue that this is all fine boggles my mind.
Yes, another level of abstraction would be creating files in english that describe each component of the app. Chat is a different abstraction altogether.
JavaScript is abstracting a lot more away from you than just memory management lmao there is so much out-of-the-box logic hidden away from the developer. And memory management is not just a "technical detail" it's pretty fundamental.
But yeh using LLMs to write code is a higher level of abstraction than even JavaScript.
> Even if you are writing in Javascript, you are still modelling a problem on to some representation in code... With an LLM you don't model the problem at all, you let something else do it.
I feel like these sentences don't really go together. You can still model the problem and present it to the LLM, then the LLM writes the code, no? You can model a problem in plain English or some other non-code form and that still counts as modelling a problem? Or maybe I'm misunderstanding? But for sure you are being abstracted away from a certain amount of understanding when you don't actually write those lines of code to resolve that problem, you pass that job onto the LLM. But a similar situation could be a senior software engineer passing on a problem to junior software engineers and this is seen as acceptable. However, in this situation we also assume that the senior software engineer was once a junior and so has already acquired a level of understanding. Idk. So many ways to look at this
Because is dishonest.
Tool makes the boring part shorter and more repeatable.
Tool does not decide how the product is designed
The amount of supposedly smart individuals that don't understand this is mindboggling.
With an LLM you're not creating code, you're a manager. There's little difference between dictating an LLM to do something vs telling your reports to do something in terms of technical ability used. And we've all known a software engineer that upon going up the chain of management loses most of their technical ability.
Not every decision needs a perfect simulation level model fully understood driving it. In reality, most decisions we make are based on lossy models of various observations of the world coupled with various outcomes. Some are better than others. Generally does not matter for example to look at some dark clouds and think in terms of advanced precipitation models, Zeus, or merely assuming with some instinct rain is coming. No matter the model choice between the cutting edge of meteorology, greek mythology, or your own gut and lived experience, all functions here take the same input and return the same output. Knowing exactly how the world works is optional for moving forward towards desired outcomes.
With a lot of code especially, the stakes are pretty low. This is some dumb app on someone's phone. Comprehensive understanding is not necessary to advance to market.
stochastic vs. deterministic
vibes vs. understandability
stability vs. instability
That's basically it for me.
Y’all are discovering what it’s like be a manager above programmers: providing instructions in English and getting back code you might not even fully understand even if you do try to read it.
This is the lived experience of millions of PMs, business owners, managers, and so forth.
You’re not discovering a new kind of programming method, unknown to the entire industry.
It was just unknown to you because you’ve all been ICs until now.
You’re all managers now!
I hope you have a bit more sympathy for your boss now.
> "Something really bothers me about the "it's just another higher-level abstraction" argument"
It's because it is not another high-level abstraction. It's fundamentally different.
Frontier labs should make a goal to make llms deterministic, (I don't mean with temperature only) if they truly want to play the abstraction game. But I read somewhere that the undeterministic nature is what makes llms as smart as they are so here we are.
I can identify a few angles:
1. You still have access to the source of Javascript or C, and if you really need to you can disassemble to asm. You don't have a choice with a black box to figure out what's inside and how it came to its answers.
2. all source code is local to my machine. I cannot control what a frontier LLM spits out. And likewise, that frontier can update any which way with an expectation that the current version will not be available in months/years time.
3. most tools for professionals are deterministic. LLM's will give you 10 slightly different answers to the same prompt.
4. outside of the technical, LLM's seem to invoke radical social change. Maybe I'm too green here, but I do not remember this flippant attitude of "ASM is outdated, just use C" as the industry shifted from assembly code. assembly programmers were not looked down as "behind on the times" and "obsolete" for their knowledge. They were usually lauded as a sort of wizard. A lot of attitude here is less about efficiency and more about replacement, as if such knowledge was gatekept from society and this newfound ease of access is a means to overthrow the system. Quite confusing.
5. moving to the logistics and economics: the powers working on LLM's are extremely different from those who worked on compilers. And it's very clear their incentives are not good for society as a whole. They more or less speedran 10 years of social media development in less than a quarter of the time, and that is the most baffling of all; Zuckerberg at least never had the gall to outright announce his intentions to meddle in national politics and sell every bit of data to the highest bidder.
So yes, quite the difference.
I mean, the argument holds no water. An abstraction has a defined mapping from the higher level concepts to the lower level ones. LLMs do not, they are randomly generating code (correct or not) based on your input.
> With an LLM you don't model the problem at all, you let something else do it.
I've been using Claude Code for many months now, and this is not my experience at all.
Whenever I work on something, I have a back-and-forth with Claude that make take anywhere from 3 to 30 turns to fully work out the model together, so that we both understand it completely. That's the hard part.
Then once it's all modeled, I have it write it all up as documentation, which I then read to review and correct anything wrong. In a 10-page document, there's usually a few sentences that need a slight clarification.
Then I start a fresh session, point it at the spec, and let Claude chug away at building it in code for 15 or 30 minutes. That's the easy part.
I feel like I'm still doing all the hard work of modeling everything that is important at the product/user level. But now I just get to skip the slog of coding itself.
To me, it very much does feel like moving up to a higher level of abstraction, where we're writing technical documentation in English together instead of technical code itself.