An unofficial, read-only Hacker News reader.

Smart people who give a shit use tools (opens external site)

426 points by matthewsinclair 4 days ago | www.iankduncan.com | 322 comments on HN

View full thread · View on Hacker News

Comment thread (131)

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

    Replies (46)
    1. > "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.

    2. 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."
      Replies (2)
      1. Also, and I think it's more important, whether after you've told the agent to "build the state machine representing these 7 states" do you question what the agent actually delivered. This goes back to crux of the article - how much shit do you actually give (and this isn't solely about shit re your job, but also other people you're working with = creating a PR without a single thought behind it and handing over it to somebody else for them to review and decide whether given change is correct and needed is NOT giving a shit)
      2. But the management wants to use it the "build me a program" way..And the AI companies want to use it that way too...
        Replies (3)
        1. They’re doing it wrong because it would be convenient for them. The LLM is also a really good shortcut to get to the kind of rigor we should all be using. You can just as easily ask it to document what it would do for design review, then spike what it would do, then review its approach, then try to understand all of that, fine deficiencies in your understanding, ask for more documentation, finally understand, recommend other structures that would be better, commit to a final implementation, ship that, run a detailed automated test, decide whether that’s adequate, review test cases, and then put it in production. None of the decisions or understandings get automated out you just no longer have the long tedious step of doing the programming. I’m not sure whether programming is actually as important as reading someone else’s code.
        2. It's not anything new to AI. Bad management perennially tries to outsource core competencies to save a buck to hit a quarterly bonus, only to clean up the mess later. The US tech industry has been through this before with various outsourcing trends.
        3. Management has always used it this way. They’ve always prompted LLMs to “build them a program”, just human ones. It’s only natural that they think you should be able to do the same.
    3. > 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.

    4. 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?
    5. 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.)

      Replies (3)
      1. This is why I've stopped talking about "determinism" and started talking about the transparent homomorphism between input to a compiler and what the resultant program actually does. Something that LLMs lack, especially if they live in someone's proprietary cloud.
        Replies (2)
        1. If I was someone trigerred by incorrect use of the word "determinism" when talking about AI, I would be so much more triggered by "transparent homomorphism".

          Nevertheless, we do need a word for the property of guaranteeing preservation of the encoded algorithm, and we need it fast. I don't know what that word might be. Definitely not homomorphism, though.

          Replies (3)
          1. Predictable.
            Replies (2)
            1. AI is very predictably doing things it wasn't asked for. Not a good choice of word.

              Continue this thread (1 replies) →

            2. reason-able

              Continue this thread (1 replies) →

          2. "Semantics". Programming languages have semantics. LLMs do not. You really don't need to go deeper.
            Replies (1)
            1. Do humans have semantics? My first instinct is to say yes, and that would imply AIs can also theoretically gain semantics one day without being compiler-like.

              Continue this thread (1 replies) →

          3. I use chaotic for the general term and prompt instability to refer to the specific issue.

            I think chaotic works well because it captures the problem that very small changes to input produce very large changes to output and not in a way that you can easily reason about.

            Replies (1)
            1. I see what you're going for. Unfortunately, "chaotic" is already a common term in information theory, and the assembly output of an optimizing compiler definitely counts as chaotic, since small changes in source code can often result in rewriting half of executable (e.g. adding an extra field to some struct, a one-line change, can change the decisions about packing, reordering stack, repurposing padding bytes, inlining, function order in file and split between pages, and other unpredictable downstream effects, including 2nd and 3rd order effects from the changes mentioned). But despite the chaos, an optimizing compiler still has the property of preserving algorithms.

              Continue this thread (1 replies) →

        2. I think the mathematically correct world and also what people actually mean in these conversations is that inference is chaotic. A tiny variance in the input (just temperature, or a single changes word even if only in the system prompt) can drastically change the output, or in case of agents the whole flow/actions.

          The same way as it happens for a double pendulum.

      2. It's a lot like having a direct report.
      3. I think 'determinism' is fine. You yourself say it's about the slot machine aspect. People (us nerds especially) get hung up on literal meanings, but language is flexible and fuzzy like that, and it's for the better. And yes, a deterministic LLM would be less annoying than the ones we have today, but it still "accumulates" indeterminism during the training phase, which then manifests at inference time.
    6. 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.
    7. 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.

      Replies (2)
      1. Shh.

        "Every day we get better and better and better ......"

        Now repeat the LLM prayer 1000x. :-)

        Sorry for this - just a relief to be able to make a joke like that to someone who won't necessarily give me the injured LLM fan response!

      2. I'd say this problem already existed. Your coworkers were writing code that definitely fulfilled some kind of task, but not in the logic we wanted. The problem as I see it is we could sit down and hash out that difference and then move forward together, and that tool is now gone. There's no understanding layer.

        There's also no point in explaining to an agent the ins/outs of your app when the next agent/harness ignores everything and does the code its own way anyway. None of the tools for organizational behavior work either. What're you gonna do, PIP the LLM?

        Replies (1)
        1. Even if the problem existed, the problem has a new order of magnitude. Many of the problems AI has brought on are like that, like university cheating. A whole new order of magnitude.
    8. 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.

      Replies (2)
      1. An abstraction changes the building blocks you use to build with.

        A frontier LLM is like a whole goddamn construction company. Run by a surly guy named Vinnie who has connections to certain families...

        Replies (2)
        1. The problem is that Vinnie doesn't follow a documented procedure and sometimes silently ignores the plans he's given.

          We already live in a world where software devs are tenuously engaged in "engineering". Vibe-coded output can never be asserted to have engineered assurances.

          Vinnie will hide bodies in a foundation you need to be load bearing.

          Replies (3)
          1. As long as people can avoid responsibility by arguing that they had no way of knowing what Vinnie was doing with all those dead bodies it'll just get worse.
            Replies (1)
            1. I fully expected your comment to end with a sarcastic "it'll be just fine".

              Continue this thread (1 replies) →

          2. What you do is hire Vinnie's cousin Tony who's just come back from college to inspect it all! :-D Then you try to ignore that they both spend a lot of time with their uncle Sammo down at the butcher's shop on 4th.
            Replies (1)
            1. "So what I'm gonna need ya to do here is just sign this little formality for us to do 'Auto Mode', which means cousin Tony is gonna, like, check that stuff's good and shit so we'ze can getchu da stuff faster, easy peasy."
          3. I’ve had great success with writing a contract and the agent follows it. It’s surprisingly easy to get it to follow the rules. The other half of that is ensuring there are rails enforcing those rules. At the task management system I entice reviewers, style, code approvals and all by sha. This eliminated a lot of confusion. Then at the build system it is enforced as a pipeline. LLMs are fairly happy with writing tests and there they have a sound infrastructure. That said I do not let them go wandering around and enforce strict task assignments. Opus really forced me to improve all of the guard rails. Now I can manage dozens of bugs, features and other tasks quite easily.
        2. Yeah, I like to think of it as outsourcing tasks to a remote team of junior developers, who are extremely fast but have learning disabilites and weird cultural gaps.

          If we choose to call it an "abstraction", it is at least an extremely different type: It doesn't codify reliable rules or knowledge, and it can interfere/replace your own decision-making and executive function.

      2. > English fails both those tests, IMHO.

        The big difference between the other steps and English is that python requires no less exacting thinking than machine code. What's effectively removed at each step before English is a bunch of torturous memorization.

        This is most obvious at the fist step, when you're trying to remember what an arbitrary binary opcode does. All assembler does sometimes is just give those opcodes intuitive names.

        English is actually the first step that isn't exacting, and that's why the metaphor fails. A line of python might do a lot more than I need it to do, but it does a defined thing, not a suggested thing.

        Replies (1)
        1. Abstraction is generation in principle. The end result is always opcodes. But with higher languages you get more intuitive and smaller concepts that eliminates the drudgery. But the formal nature persists.

          The abstraction can happen through syntax (higher level language, dsl, macros,…) or through code reusability (procedure, functions, file inclusiom, libraries of symbols). You hide irrelevant details but the relation between inputs and outputs is still rigidly defined. For any known inputs, the semantics of the output is known.

          English doesn’t give you that. Whatever the LLM outputs from a prompt is only defined when it happens. And with randomization (temperature, environment (tool calls, web searches,…)) it’s basically a shot in the dark. And because the codebase is both the input and output, the process can become quickly unstable.

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

      Replies (1)
      1. Right, real coding abstractions aren't just tools to accomplish a task by any means necessary, they are a compressed decision about how the world works or how the problem should be understood.
    10.   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.

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

    12. 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.
    13. Yes, another level of abstraction would be creating files in english that describe each component of the app. Chat is a different abstraction altogether.
    14. 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.

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

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

      Replies (2)
      1. Is the AI helping with writing the spec or is that something you do entirely alone? If it's the latter than I can see this working but otherwise the writing quality of SOTA models is so poor that I'd rather the LLM just build the entire project
        Replies (2)
        1. LLMs (not SOTA, lol) help me write the spec, but I read and approve every word. If I don't like how something is written, I change it. I iterate on specs for hours sometimes before letting an LLM implement it. I'm using LLMs to help write it, but mostly by poking holes and driving a more holistic scope.
        2. Here's what I did, maybe it will help you.

          Ask it to generate a technical spec for a problem you discuss with it.

          Then, as if working with a freshly graduated new hire, go in and comment on every single thing you dislike about.

          This will take a long time and feel pointless, but continue iterating with it unless you get something you like.

          At the end, ask an agent to review each of your comments and come up with a SKILL for writing like you expect. Review the SKILL, obviously.

          I did not save time on the first project, but now I get a much more solid starting point to review from.

      2. Are the specs all sufficiently abstracted from the code base that you could have agent's replay them and rebuild the code base from zero? Or is each spec referencing things from the current state of the code such that the drift in the code base that would occur on replay would cause later specs to become non-sensical?
        Replies (1)
        1. I haven't tried yet, but I have been thinking about trying to take an application that was developed using spec driven development and trying to actually let an AI reimplement it from the specs. The trouble with that is that so far any application I have worked on that is sufficiently complex that it would be interesting to try, os one that I introduced spec driven development in after the project was already developed for a while (pre-ai). Applications that I developed fully with spec driven development with AI haven't gotten mature enough to really be interesting to enough to try that yet. I'll definitely try it soon though!
    17. > 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.

      Replies (1)
      1. Engineers should not be one-shotting complex problems and in that way I think the author is right.

        That said, it feels wrong to even entertain some of these strawman and weakman arguments. Spending a ton of time and energy discussing the bad behavior of a minority is not advancing the practice of agentic engineering for the many. I logged off of Bluesky (where the author is most active) because the majority of the discourse there is just like what you see between Ian's post and the article he's responding to (https://violetpixel.com/blog/2026-11-17-we-need-smart-people...): people farming strawman and weakman arguments and doomeristic dialogue for engagement.

        I'm not sure any of that is useful beyond the time-honored tradition of Twitter-style venting.

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

    19. 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.
    20. > 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.

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

      Replies (2)
      1. Thats true if your manager is the one telling you what work to do. Which imo is only true in bad engineering orgs.
      2. > You’re all managers now!

        No thanks, boss. I've quit my job in the past over being promoted against my will from IC to TL/PM, and I'm not afraid to do it again.

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

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

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

      Replies (4)
      1. Yeah. If LLMs are a compiler then I’m a compiler.
        Replies (3)
        1. Isn't the alternative something mystical? You essentially are a compiler of lots of low-level processes.
          Replies (3)
          1. Yeah, but I’m not good at it. The alternative is for there to be a rigorous set of rules for translating one language into another. I don’t think that is possible with all the ambiguity of natural language and the lack of thoroughness in our natural language specifications.
          2. Truth is the conformance of the mind to reality. This is metaphysics, but you don't need a deep understanding of metaphysics to comprehend it.
          3. I don't know if the alternative is something mystical, but this is too loose a meaning to mean anything at all anymore. By that logic, the universe is also a compiler, and almost everything that goes from a form to b form is a compiler, and we might as well not have the term at all, because it's not denoting anything specific anymore.
        2. > I'm a compiler

          I have become Clang, destroyer of stacks.

        3. I surely was one once upon a time, manually converting Z80 assembler into decimal values to place into DATA statements.
      2. Makes me wonder how running a model with temperature set to 0 and only integer operations would work?
        Replies (1)
        1. This just replaces indeterminism with inexplicable sensitivity to millions of little word choice factors. The result still has all the unpredictable fragility of indeterminism. It's still not like using a normal programming language, where you can reason with mathematical certainty as to what the code will do, on a simple understandable scale.
      3. > One thing I hate about the "it's just another higher-level abstraction" is the indeterminism.

        I was (various flavours of) an architect for the last 20 years, having been a coder for the 20 before that. If you've ever worked with disparate teams of developers (and other engineers) trying to get your solution implemented how you've designed it, you'll know that it involves lots of discussion, exposition, scenario-ing, rabbit holes, one or two dead ends, and re-architecting along the way. And that's if the devs are good. If you're using AI to code (leaving aside one-shotting, vibe-coding, slop-shipping), then you aren't coding, you're architecting and dealing with mostly reasonable team of devs who sometimes misinterpret your guidance. This is not necessarily a good nor bad thing, just that communicating complex ideas using English (or other for-humans language) can be indeterminate, and that's a function of the problem space.

        I suspect the next round of improvement in AI's will result in a further retreat of developers, from becoming architects, to business analysts, to project managers, to business stakeholders. The vibe is coming and its relentless.

      4. Indeterminism isn’t an issue because you don’t run the prompts like you would compile the code.

        Storing prompts as some kind of code is stupid.

        Abstraction level is there you are just hung up on comparison to compilers.

        It is just different way of interfacing with code that is source of truth. Prompt is not source of truth, prompt is more like “compile button” in IDE instead of typing out compile commands.

    25. Because is dishonest.

      Tool makes the boring part shorter and more repeatable.

      Tool does not decide how the product is designed

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

    27. 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".
    28. 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.

      Replies (1)
      1. Brilliantly put, and the writing style made me laugh.
    29. > 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.

      Replies (6)
      1. I work this way a lot as well. But depending on how detailed the initial spec you're coming in with is, and how precise your thinking is beforehand, your thinking can easily be framed by claude itself. It's a big difference between coming in with the frame itself vs. reviewing within an AI's frame.

        What I mean is about what details end up being important and what the overall shape of the solution is supposed to look like. Typically there's a massive design space that has to get narrowed down to a few big questions, then lots of small questions.

        If you don't come in with claude setting the initial parameters, or have the software design taste to know what's wrong with a solution -- I don't for a lot of domains -- then it's hard to even notice what you're not considering, because it's never presented as an explicit option to you.

        Especially when it comes with writing documents. I have excellent doc-writing taste and have never began with an AI draft that I could shape into something good instead of begin with a draft myself that AI can help improve.

        Replies (2)
        1. When you say "then it's hard to even notice what you're not considering", the solution is to get Claude to tell you what you're not considering. Get it to give you all the options.

          At each big question, I explicitly ask Claude what are all of the possible solutions or approaches we should consider here. Even the bad ones. Give me a list of all of them that are even remotely relevant, then give me the pros and cons of each, and your recommendations. I also ask, are there any other big questions we should be asking that we're not, that could affect e.g. performance/security/upgradability/etc. later?

          Quite frequently, I wind up selecting something that's not its initial recommendation, because one of the pros or cons reveals a constraint I hadn't thought about, or a constraint that Claude assumed was super rigid but is actually quite flexible. It's very important to force Claude to do breadth-first searches, because it won't do it on its own without you telling it to do so.

          Obviously you have to guide this towards the things that seem important to drill down into. So I'll go through this process rigorously on the biggest design decisions, and then on a lot of small details I'll just go along with its recommendations because I understand that if it fails for some reason, that will become obviously apparent and it won't be a ton of work to change it later on.

          Replies (2)
          1. > or a constraint that Claude assumed was super rigid but is actually quite flexible. Most annoying things
          2. Breadth first searching the solution space is a really good way to code with AI imo. You get better abstractions you can take away as well.
        2. My thought experiment: spend 10 minutes formulating a prompt for an image, and then generate it without looking. Sketch your own version according to the prompt, then look at the generated output.

          The images are probably a lot different. If you peeked at the generated image before sketching, you'd likely think it looks close to what you imagined. Actually, you'd be influenced by a false representation of your own idea.

          Replies (3)
          1. This is a very astute observation and it’s framed in a relatable example.
            Replies (1)
            1. A picture frame.
          2. This is very similar to the experience of using Claude to write code imo

            It writes working code nowadays but everyone still seems to admit it's sloppy, poorly architected code unless you really keep a tight guide on it

            I think if you did the same experiment, wrote the code yourself, then prompted Claude, you'd see the same kind of "the images are quite different" thing

            It's just that people don't care as long as the code works

            But they should

          3. This could largely be because higher-level ideas are underconstrained: there's a lot of details to be filled in that could be filled in any number of different ways, and when formulating that idea you tend to just not imagine those details. LLMs are reasonably good at filling in those details but they aren't likely to make the same choices you would. (Which isn't necessarily an issue in and of itself: I would say the main trap is an LLM will have a bias towards filling in the details in the same way for everyone, which tends to make those details same-y in a way that you filling them in wouldn't. Sometimes this matters, other times it doesn't)
      2. As someone who has enough security fires to put out as it is: thank you for still giving a shit.

        We’ve had so many yolos turn into bug bounties or worse in the last couple of months that the c suites are even starting to get why it’s a bad idea.

      3. You are describing collaborating with another entity, which is not the feeling I get from my keyboard or my compiler.
      4. Sounds like you're a good architect working with (a) good developer(s).
      5. I think the way people use AI is telling how they have worked before LLMs, and if somebody says they don't need to model they probably didn't do so (or saw the value in doing so) to begin with.

        Or God forbid, people who generate unit tests based on the implementation to reach code coverage requirements.

      6. I do this too, but I find there is another sizeable chunk of time spent afterwards refactoring that initial dump of code, adding structure, or shifting the structure it added into something more readable.

        I also find that in very large and complex codebases, it misses edge cases, builds around abstractions, and does other things that reduce the quality of the code. I still find myself needing to do quite a lot of research in advance to feed it context.

        With all of these, I'm trying to build skills so I can be more hands off, but they're effectiveness wavers between model releases.

        This work is all faster with AI, but it isn't the one shot prompt we seem to be dreaming of.

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

      Replies (1)
      1. It’s not just that it’s non-deterministic. That could theoretically be solved. It’s that it’s chaotic.

        Prompt instability, means that a 1 character change to the prompt will result in a very different out. This means that there will never be a way to reliably predict the output from the input.

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

    32. stochastic vs. deterministic

      vibes vs. understandability

      stability vs. instability

      That's basically it for me.

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

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

      Replies (2)
      1. "Meat popsicle."
      2. automation does have its own agency. For what it’s worth, machine learning grew out of a desire to automate tasks that were too complicated to address all edge cases with a formalized system of rules. In machine vision without machine learning there are always weird edge cases that trigger pathological behaviors in every algorithm. With machine learning you can at least codify the correct behavior in a set of examples instead of meticulously tuning your rules and hoping nothing gets squeezed out by your new rule.
    35. > 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

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

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

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

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

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

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

      Replies (1)
      1. > LLM driven development simply abstracts that a layer higher to eliminate the need to describe the "how".

        I argue that removing the "how" entirely means that it is not simply a higher level of abstraction. With the other examples I gave, the "how" becomes simpler to express, but it's still there.

    42. The higher level abstraction is just that with LLMs everyone is a manager now. It's like having your own imperfect team of persons doing work for you.
    43. Whats important is not how good abstraction is, but how flexible it is at allowing low level work. Think inline assembly in JS. This is where LLMs differ - level of abstraction is dictated by the "operator", not the tool.
    44. I've been thinking and considering this a bit along with some some larger ideas. First, coming to terms would help:

      "An abstraction is a simplified description, or specification, of a system that emphasizes some of the system's details or properties while suppressing others. A good abstraction is one in which information that is significant to the reader (i.e., the user) is emphasized while details that are immaterial or diversionary, at least for the moment, are suppressed... The abstractions we use for software tend to emphasize functional properties of the software, emphasizing what results are to be obtained and suppressing details about how this is to be achieved." -- Mary Shaw, Proceedings of the IEEE, Vol. 68, No. 9, 1980, pp. 1119–1130[0]

      There are [more] definitions [and some of those are more specific or oriented toward software development, or more specific.] But, with current paradigms being turned on their head a little, it's interesting to consider this instead of some that came later. Mary also notes: "As languages evolve to meet these ideas, we reshape our perceptions of the problems and solutions in response to the new experiences," so maybe we shouldn't be too locked into one way of thinking about this. I don't want to totally dismiss things like specifications, and she doesn't either, but it may just be a separate closely linked matter.

      My current line of reasoning is that LLMs may be doing at least two things:

      1) They offer a new sort of probabilistic or automated layer of abstraction, dynamically suppressing complexity. User's who only create software through natural language in the LLM are only reasoning about the functional properties they care about at that moment. In this sense, assuming the LLM can pull it off, maybe this is actually a fantastic abstraction. (That said, for now LLMs may struggle with aspects of execution in the same way "Programming By Example" did. Train of thought: In some sense, maybe prompting is a lossy specification. [If so, that imprecision may cause issues when using other definitions, and may even be potential cause for future outages.])

      2) They allow users to move between or operate at multiple levels of abstraction. It's possible to define a model, to provide a spec, or to give the system a file with your own code and have it use those things. Sometimes you can do multiple at once. (Again, ignoring issues or reliability for the moment.)

      People seem to find value in those tools. Some users are only able to leverage the first dynamic abstraction tool, but more knowledgeable users can also leverage the second.

      So, I agree with the article author for the moment. This is a rapidly evolving toolkit that could be legitimacy useful and allow adding extra verification that wasn't economical before. Although LLMs are potentially making people stupid and building bad software, the bigger issue at the moment seems to be a an actual backlog of issues suddenly coming due.

      Humans aren't perfect and software isn't perfect. There's always a need for trade-offs. Previously companies were able to aggressively trade-off toward profit motive and get away with it. Now the are cultural and structural issues are being exploited as the trade-offs change.

      One thing that remains to be seen is if these new tools will actually allow validation and defense to stay ahead of attackers. It is possible that a few years from now, they aren't enough to protect against enhanced attacks. I wonder what the knock-on effect will be for things like insurance, but I'm not sure it's useful to dwell on it when things are evolving this rapidly.

      - [0] https://www.cs.cmu.edu/~Compose/shaw_abstractionconcerns_80....

    45. You assumed your conclusion. In programming modeling the problem is the same as solving it (though not in software engineering). You said with an LLM you don't model the problem at all, but you infact must to get any kind of relevant response from an LLM. An LLM is not an abstraction of a low-code app builder since and app builder is highly restrictive in practice, but if you had a non-turing tarpit app builder in your head then yes I'd agree that there's progression Assembler -> C -> hypothetical Low-code nonrestrictive app builder -> coding harness + LLM

      You talk about assembler, C and Javascript, Have you used shell or python? In those languages you mainly call pre-written programs, the main problem turns into modeling your/users environment. It feels more like ecology management than assembly programming.

    46. I don't know what you're doing in your work but when I write software, regardless of by hand, or with an LLM, I'm certainly focusing on solving a business problem, not writing code for the sake of writing code.