Yes, and

(htmx.org)

99 points | by Michelangelo11 13 hours ago

13 comments

  • layer8 1 hour ago
    > Is Coding → Prompting like Assembly → High Level Coding? […] I do not agree with this simile. Compilers are, for the most part, deterministic in a way that current AI tools are not.

    It’s not quite about the determinism. It’s about being able to reason about the relationship between source code and compiled program with formal precision. You can predict which changes in the source code will lead to which exact changes in the behavior of the compiled program. The same isn’t the case about changes to an LLM prompt and the LLM’s output.

    You could make an AI deterministic by fixing its source of randomness. That still wouldn’t allow you to reason about how its output will change when (for example) you add or remove a word in the prompt. The only way to find out is to run the LLM (= have the prompt run through the model and observe what comes out).

    That is the fundamental difference. Changes to source code have predictable and reason-able outcomes. You generally don’t have to compile the code and test it to know how precisely the change will affect the behavior of the compiled program according to the semantics of the programming language. That’s the case even if the compiler uses some probabilistic heuristics for trade-offs in code generation, and hence isn’t deterministic on the machine code level.

    To repeat, the difference is how you can reason about a compiler’s behavior versus an LLM’s behavior. Programming languages are designed such that you can reason about it. With LLMs it’s always an experiment.

    • glimshe 46 minutes ago
      But you're comparing vibe coding to using a compiler. This is an important comparison but you don't need to use LLMs this way; that's why, I think, senior engineers are more effective with LLMs than juniors.

      When coding, a few things are happening. You build a representation of what you want to achieve in your head and translate that to code, aka "typing the code", which is actually a pretty complicated process but certainly not all of the entirety of the software engineering process. Then you review what you wrote and commit.

      With LLMs you still maintain steps 1 and 3. you reason about the solution, translate it to English and then let the LLM do the "typing the code". Finally you review the output.

      The output review is completely deterministic and you have the opportunity to even tweak the LLM's output to match your mental model. The nondeterministic nature of the LLM isn't super relevant because it just changes how much work you do in this step. At this point it's just like standard coding minus the typing. Ultimately it's still an objective relationship with the compiler. It's very much like how tech leads engineer a system through their teams.

      Assuming that you truly understand and own every line of the LLM's output, the model is almost working like a macro.

      • Exoristos 13 minutes ago
        I agree it can feel like working with a team sometimes, but I wouldn't liken it to a macro. That seems much too idealized.
    • w4yai 31 minutes ago
      > You can predict which changes in the source code will lead to which exact changes in the behavior of the compiled program

      Can you really ?

    • edflsafoiewq 21 minutes ago
      I think this narrow view on determinism comes up a lot. Essentially any program can be made deterministic over single inputs by fixing all side-inputs. But there is determinism over classes of inputs too, eg. an algorithm given input X deterministically outputs X+1.

      I think the wider view is usually what people mean when they talk about nondeterminism in LLMs. Maybe because computers are traditionally so deterministic the wide view is almost taken for granted by programmers.

  • tengbretson 3 hours ago
    > I explain that, if they don’t write the code, they will not be able to effectively read the code. The ability to read code is certainly going to be valuable, maybe more valuable, in an AI-based coding future.

    I'm not certain of this. Thinking back to when I first started in my career after graduation- I remember feeling like my ability to write code had improved greatly during my time in school. Meanwhile, my ability to read code felt like it had barely improved at all. Even now, after over a decade in the industry, while both skills have improved tremendously, I still feel like my ability to read and internalize code is not at the level I would like or assume it to be simply as a result of my experience.

    It could very well be that reading and writing are two separate (though related) skills that require intentional practice and honing on their own. I can't speak for everyone, but reading code as a skill, for me, only really began to develop once I had a job where it was expected of me.

    Maybe it's possible to learn to read code without learning to write it. It certainly feels like its possible to learn to write it without learning to read it.

    • Exoristos 11 minutes ago
      > It certainly feels like its possible to learn to write it without learning to read it.

      There's a perhaps subtle difference between possible and viable.

    • jeremyscanvic 31 minutes ago
      Would you mind sharing some of the insights you gained on reading code? It could be useful for the more junior of us!
  • sajithdilshan 12 minutes ago
    I think in few years LLMs would be so good that the programming language used by humans to build software would be natural human language. LLMs would abstract out high level programing languages the same way where we don't write assembly code today. Hence, I'm not sure how important it would be to learn programing languages.

    However, it's totally make sense to learn theories and concepts behind computer science and engineering like networking, encryption/cryptography, etc. if someone wants to be a software developer in the future.

  • ivanjermakov 39 minutes ago
    Programmers make computer programs. LLMs make making computer programs more affordable and efficient, resulting in more computer programs and higher demand in programmers. We don't know what programming would be like in 10 years, but why would demand in well functioning computers go down?
  • johsole 2 hours ago
    I disagree with the author. I think as LLMs get better at coding it will be more likely that that fewer devs will be required to keep systems running and progressing, the bottleneck at my company is already new revenue generating ideas. We've seen a roughly 30% increase in speed of new features, so the same number of devs are building a lot quicker. I expect that to continue to increase. I also see a lot of Devs simply trusting that the code is correct, they are losing touch with the code.

    I don't think I would encourage my kids to get involved with programming, instead I would encourage them to become entrepreneurs who might use some coding.

    • omoikane 1 hour ago
      > increase in speed of new features

      But who will maintain those features going forward?

      > I also see a lot of Devs simply trusting that the code is correct, they are losing touch with the code.

      My worry is that developers can't outsource their understanding to AI forever. It's a lot of risk for companies to be accumulating code faster than developers can understand them.

      • icedchai 41 minutes ago
        AI will maintain the features, unless you think we're going back to the old days? The job of a developer will become 1) writing and refining specs, 2) "managing" agents by answering questions, evaluating new models, new tools, etc, 3) testing and validating AI output.
        • vinyl7 17 minutes ago
          Have we coined the term Slopgineer yet?
    • simonw 2 hours ago
      I think people who understand how computers and software work will be better positioned to generate those new ideas.
      • bluefirebrand 1 hour ago
        In my experience, new ideas are mostly generated by people who are involved in non-software stuff

        A software engineer isn't going to come up with a revolutionary new mining technique or robot or something. But someone who works at a mine might. Previously those people would go find a software engineer to try and validate their idea. Now they will go to AI

        I dunno. Maybe I'm wrong, but I just don't see software engineers as being the best people to generate a lot of new ideas for domains outside of software engineering

        • OkayPhysicist 12 minutes ago
          My experience (as someone who has almost exclusively worked as a software developer in non-software companies) is that my primary value add is the ability to recognize things that a computer can do easily, versus problems that are not solvable by throwing software at it.

          For example, when I was working in a finance team, I'd come across all sorts of situations where someone had a task of "once a week, download this data from this application, apply the following transformations, then upload the results to this other application". Anybody reading this site would think "ah, that's like a dozen lines of code! We should automate that". But that thinking is incredibly rare outside of our field.

          On the flip side of that, you'll have the people who think they can simply buy software that will solve all their problems. "No, ma'am, buying a fancy new Spend Management System will not magically make everyone know or care about the difference between 'GL 10754 - Employee Appreciation: Meals' and 'GL 10822: Employee Meals (Discretionary)'".

          My take on it is that the ability to recognize automatable problems boils down to 1) having an intuitive understanding of algorithmic reasoning ( this solution comes in 4 parts, the first part can be divided into 3 separate problems, which...) 2) having an up-to-date understanding of the extant capabilities of computers. 3) having the kind of bull-headed hubris that makes someone say "Sure, we currently do it this way, but I can do it better".

          And at the end of the day, those features end up meaning you need some sort of engineer.

        • jodacola 1 hour ago
          This is why I have always advocated for getting my software engineers away from code occasionally and out into the field into whatever domain in which we're working.

          We need to experience and see how the world actually works, the pain people are actually experiencing. I deeply believe we build better software that way.

          Have a software engineer working for a mining company that's a good candidate to drag out into the field for a bit? Get 'em out there, encourage them to ask tons of questions.

          Real example: my wife is a nurse who works for an insurance company to coordinate care for injured workers to help maximize their recoveries. I hear a ton about the stuff she has to do, and just having her tell me about how things work has given me a glut of ideas of how I could help her bypass all the administrivia so she can focus on helping the folks she's really passionate about helping. Wouldn't have had any idea about any of this, otherwise. Unfortunately for her, I don't work for her company so can do nothing about it, but the ideas!

          • yolp5 1 hour ago
            > We need to experience and see how the world actually works, the pain people are actually experiencing. I deeply believe we build better software that way.

            90% of the time when you really break down the "real" problems. You learned they aren't gon a be fixed by fucking software.

            • jodacola 1 hour ago
              I wholeheartedly agree with you that software isn't the answer for everything; engineering teams get so deep in building that's all they can think of when faced with a business problem.

              Less software coupled with operational changes would have helped many organizations I've witnessed across my career, but that's not politically palatable in a lot of places.

        • simonw 1 hour ago
          I think the best ideas come from people who have both domain knowledge and an understanding of what's possible. Computer science gives you the latter.

          If I was going through university right now I'd want to double-major in computer science and something else.

          • whstl 59 minutes ago
            I agree.

            Domain expertise is good, but coupled with software knowledge is almost a superpower, when it comes to software projects.

            I have seen projects that took 6 months when done by 1 expert + 1 engineer taking mere weeks when done by a single person who were good at both, in a competitor.

    • dkarl 1 hour ago
      > I also see a lot of Devs simply trusting that the code is correct, they are losing touch with the code

      It'll be interesting to see if this is sustainable. I could see it going both ways, and I honestly don't know which is most likely.

    • Buttons840 1 hour ago
      There can't really be valuable ideas that are quick to implement with few programmers.

      Well, if there are, I know what I'll do over the next long weekend...

      As the number of programmers decrease, the value of computer related ideas decrease.

    • tombert 54 minutes ago
      It could be that because we can rapidly generate customized programs that the dedicated software industry shrinks, but companies might stop buying/licensing software and instead bring more software engineers in house.

      That's what I'm hoping at least.

    • wildzzz 21 minutes ago
      I've been managing a software project for several years now. It's gone through a few major iterations but those have only coincided when I've had other engineers to help me. The code is for testing new devices against a couple racks of equipment. What I had a few months ago has worked pretty well but there's been some issues with error handling and limit checking. I basically just work on the thing when I have time, amongst being a hardware development/production/test engineer. Little changes are easy but something like adding in a bunch of error handling is a lot for me. It's relatively easy with python but I'm an electrical engineer and this thing is so spaghettified that it's really difficult to crack into these crust test scripts to structure them the right way.

      Over the past year, I've been trying to better document the equipment according to new QA standards. This also means I need a way to test the racks without production hardware. Everything goes hand-in-hand, how do you test a car without an engine? We finally got access to an approved IDE with a built-in AI model so I figured I'd try that out. I had been using our ChatGPT-equivalent tool for a few months for little scripts and questions but that's pretty ineffective for a major code base. That new IDE cranked out a slick certification application that does everything I need in about a day. I turned it back to my existing codebase for the production testing and gave it my wishlist of upgrades and features. Took about two weeks but I'm ready to push v1.0.

      One of the main issues is that I'm not the one usually testing new devices, technicians are and they aren't always familiar with the software or equipment. Automating an entire test was a big effort a couple years ago and I got to the point where after a bunch of setup, you just click the GO button and sit back to watch. But now, AI has automated even more of the process so all of the stupid config files one had to setup previously are now automated. The various apps you had to run in the background are all built into one package. The silly little bugs I was dealing with for years have totally been wiped out with better error handling and monitoring of connections. It's amazing how well this new thing works and how much it actually looks like a real software engineer made it. It's even got simulators built in so we can test every part of it without needing actual equipment or the production units.

      I've been wanting to find a new job for a while but this automation project has been holding me back. I've so badly wanted to complete it because I'm the one that wanted it in the first place. If I had like six months of dedicated time with the equipment (impossible, at best I get a couple weeks of downtime), I maybe could have made something similar but it would have been lousy code. With just two weeks of working with AI, I'm over the big hurdle. I've still got a few things to clean up before its ready for production but I'm basically 40 hours of work away from being at the point where I could just walk away. Hell, I just realized I could even have the AI write the manual as well.

  • samstress 13 hours ago
    No, but... is the better answer in my mind. Learning to code is a considerable commitment. It takes years to get good enough to produce professional-grade software. If you extrapolate from the improvements we've seen in coding AI over just the last 12 months, this is just a bad allocation of your time.

    Instead, as the article points out, learn to become a translator between the real world and AI code generation. Learn about industries that are relatively underserved by technology. Don't build tools for developers or engineers. Learn about construction, mining, waste management, oil and gas, manufacturing, logistics, government... then become the link between that industry and AI's ability to add value.

    (Emphasis on relatively underserved — all of these have high-tech versions in some places, but the future isn't distributed evenly.)

  • sippeangelo 1 hour ago
    > Is Coding → Prompting like Assembly → High Level Coding? […] I do not agree with this simile. Compilers are, for the most part, deterministic in a way that current AI tools are not.

    I have a very different view of this, coming from C++. "Undefined behaviour". Compiler optimizations that only kick in if you align your chakras just right. Memory alignment and cache locality being completely vibe-based, relying on hopes and prayers that the CPU actually does what your mental model thinks it will.

    In many ways it's EXACTLY like C++ -> Assembly. You never know what you ended up with until you run the benchmarks, just like you never know what your AI generated until you look at it!

    "What do you mean? This worked in the debug build! Why does it crash in release?!"

    • SahAssar 49 minutes ago
      But with a compiler you can see why the compiler did what it did, with AI you have a black box. Even if you fixed the AI model to be deterministic you could still not see why it produced the specific output for that specific input.
  • smcg 3 hours ago
    Well, it's sad that the professor's advice for how to get a job today is "networking", same as it always was. I feel bad for those who don't have family or friends who work in the industry.
    • trentnix 1 hour ago
      I think you have a pretty narrow view of things if you consider "family or friends who work in the industry" as the only form of networking. Clubs, conferences, online communities, and build-and-release-useful-things are all effective forms of networking.

      The job market is the pits and feels more like a game of musical chairs than an evaluation of aptitude and ethics. Lots of old paths are getting very narrow. Some are closing.

      But we now have tools that let you just build big things, all by yourself. In this new world, bonafide coding expertise is helpful. But it's not required. New graduates should just get out there and start making things.

      • chaps 1 hour ago
        I think you have a significantly narrower view than them. Consider someone moving to a new city or someone getting out of jail. It takes time to do the networking you're talking about. People need to eat and networking doesn't fill your stomach.
        • shaewest 1 hour ago
          And that's one of the risks of moving to a new city, and arguably one of the risks you take when you commit a crime worthy of jail.

          As for the new city risk, you take that risk with the potential upside it could bring, but everyone will be wary. People new to a city are a risk because of all the reasons they might've left an old city.

          • chaps 1 hour ago

              risks you take when you commit a crime worthy of jail.
            
            A friend's mom went to jail for having too many dildos in her purse. Do you count her in this?
            • wildzzz 43 minutes ago
              How many is too many?
          • bluefirebrand 1 hour ago
            > People new to a city are a risk because of all the reasons they might've left an old city.

            What do you mean? You go to a new city in search of new opportunities, not to escape anything bad. The same reason you go to a new country, right?

    • easterncalculus 1 hour ago
      The author shows his age by recommending that student to go into a cost center at Costco. In AI resume land you really need the keywords more than ever to both start and keep a career in this industry.
  • psygn89 1 hour ago
    Didn't you guys have to handwrite your code during exams, at least the basic programming classes? I feel like that's an immediate reason you need to know how to code.
    • wildzzz 44 minutes ago
      Definitely, that's an immediate test for whether or not you actually did any of your work. Even just asking for some basic pseudo code would be a good check.
  • sergiotapia 1 hour ago
    > “Yes, AI can generate the code for this assignment. Don’t let it. You have to write the code.”

    I wrestle with this: In what world will _anyone_ suffer what we suffered by coding manually, reading docs, and posting in forums to learn when there's a magic "do it" button?

    I don't think it's realistic that a 19 year old kid is going to troubleshoot some horrendous SQL query for 3 hours to figure out what's wrong when an AI can fix it in 3 seconds.

    I don't know what the answer is tbh. Perhaps software engineering just "ends" with this latest batch of people. It's a game of chicken: can ai get good enough before the final wave of devs dies.

  • iAMkenough 1 hour ago
    On the advice to junior devs to work intentionally and slower than their vibe-coding peers, I see an analogy to the advice given to student journalists at the start of newspaper subscriptions being replaced with online news access.

    There will be a few developers that will work slowly and have the best understanding of the work at hand, but in my opinion the majority will be stuck at companies churning out whatever gets them paid.

    Fast vibe-coded solutions that frees up time to work on more and more paying projects is what capitalism demands.

    The Capitalism motivator rarely slows down by choice, because capitalism only cares about numbers going up, not people or their determination

  • draw_down 2 hours ago
    [dead]
  • landdate 13 hours ago
    [dead]