• codeinabox@programming.devOP
    link
    fedilink
    English
    arrow-up
    88
    ·
    2 months ago

    This quote on the abstraction tower really stood out for me:

    I saw someone on LinkedIn recently — early twenties, a few years into their career — lamenting that with AI they “didn’t really know what was going on anymore.” And I thought: mate, you were already so far up the abstraction chain you didn’t even realise you were teetering on top of a wobbly Jenga tower.

    They’re writing TypeScript that compiles to JavaScript that runs in a V8 engine written in C++ that’s making system calls to an OS kernel that’s scheduling threads across cores they’ve never thought about, hitting RAM through a memory controller with caching layers they couldn’t diagram, all while npm pulls in 400 packages they’ve never read a line of.

    But sure. AI is the moment they lost track of what’s happening.

    The abstraction ship sailed decades ago. We just didn’t notice because each layer arrived gradually enough that we could pretend we still understood the whole stack. AI is just the layer that made the pretence impossible to maintain.

    • Feyd@programming.dev
      link
      fedilink
      arrow-up
      47
      ·
      2 months ago

      LLMs don’t add an abstraction layer. You can’t competently produce software without understanding what they’re outputting.

      • chicken@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        24
        ·
        2 months ago

        The author’s point is that people already don’t understand what the programs they write do, because of all the layered abstraction. That’s still true whether or not you want to object to the semantics of calling the use of LLMs an abstraction layer.

        • Feyd@programming.dev
          link
          fedilink
          arrow-up
          30
          ·
          2 months ago

          Not knowing what cpu instructions your code compiles to and not understanding the code you are compiling are completely different things. This is yet another article talking up the (not real) capability of LLM coding assistants, though in a more round about way. In fact, this garbage blogspam should go on the AI coding community that was made specifically because the subscribers of the programming community didn’t want it here, yet we keep getting these trying to skirt the line.

          • codeinabox@programming.devOP
            link
            fedilink
            English
            arrow-up
            11
            ·
            2 months ago

            In fact, this garbage blogspam should go on the AI coding community that was made specifically because the subscribers of the programming community didn’t want it here.

            This article may mention AI coding but I made a very considered decision to post it in here because the primary focus is the author’s relationship to programming, and hence worth sharing with the wider programming community.

            Considering how many people have voted this up, I would take that as a sign I posted it in the appropriate community. If you don’t feel this post is appropriate in this community, I’m happy to discuss that.

            • Feyd@programming.dev
              link
              fedilink
              arrow-up
              5
              ·
              2 months ago

              You made a very considered decision that you could argue it’s not technically AI booster bullshit, you mean.

              • codeinabox@programming.devOP
                link
                fedilink
                English
                arrow-up
                5
                ·
                2 months ago

                What I’m saying is the post is broadly about programming, and how that has changed over the decades, so I posted it in the community I thought was most appropriate.

                If you’re arguing that articles posted in this community can’t discuss AI and its impact on programming, then that’s something you’ll need to take up with the moderators.

                • Feyd@programming.dev
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  2 months ago

                  If I thought it was against the rules I’d report it instead of complaining. I complain because posting “I’m sad because everything is different now and also I’m all in in the hype actually” blogs 2 days in a row after agreeing not to post AI hype sure seems like you desperately want to post AI hype.

          • chicken@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            5
            ·
            2 months ago

            Talking about low level compilers seems like moving the goalposts, since they are way more well defined and vetted than the mass of software libraries and copy pasted StackOverflow functions a large segment of programming has been done with.

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 months ago

      I’ve had this problem with abstractions for the longest time. Of course whenever I say anything negative about abstractions I just get dog piled so I don’t usually like to discuss the topic.

      I think abstractions as a tool is fine. My problem with abstractions is that most developers I meet seem to only talk about the upsides of abstractions and they never take into account the downsides seriously.

      More often then not, I just think people treat abstractions as this magical tool you cant over use. In reality, over use of abstractions can increase complexity and reduce readability. They can greatly reduce the amount of assumptions you can make about code which has many many additional downsides.

      Of course I’m not saying we shouldnt use abstractions. Not having any abstractions can be just as bad as having too many. You end up with similar issues such as increased complexity and reduced readability.

      The hard part is finding the balance, the sweet spot where complexity is minimized and readability is maximized while using the fewest amount of abstractions possible.

      I think too often, developers would err on the side of caution and add more abstractions then necessary and call it good enough. Developers really need to question if every abstraction is absolutely necessary. Is it really worth it to add an additional layer of abstraction just because a problem might arise in the future vs reducing the number of abstractions and waiting for it to become a problem before adding more abstractions. I don’t think we do the latter enough. Often times you can get away with slightly less abstractions than you think you need because you will never touch the code again.

      • codeinabox@programming.devOP
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        There is much debate about whether the use em-dash is a reliable signal for AI generated content.

        It would be more effective to compare this post with the author’s posts before gen AI, and see if there has been a change in writing style.

    • MalReynolds@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      Thanks for the quote, it caused me to actually read the source, which I enjoyed. It’s a good idea to put these thoughts into the post body.

      As to abstraction layers I am reminded of “I have seen further because I have stood on the shoulders of giants”, and yet you must climb to those shoulders, ontogeny recapitulates phylogeny, and you will see further the more you understand the layers below.

      I suspect it follows the pattern of a tree, you can only reach further up if your roots are deep enough to support it. A seed can grow wherever planted, hence new coders will do fine, and eventually come to this point (maybe toppling a few times, putting down more roots in response). A mature fruit tree has many years of bearing fruit.

      As to AI making the process more soulless, mayhap, but making programmers more exploitable and fungible, almost certainly, but that’s the point.