• Mr. Satan@lemmy.zip
    link
    fedilink
    arrow-up
    7
    ·
    15 hours ago

    It’s definitely for humans first and computers second. Compiled, machine code is for computers, everything else are tools so that humans don’t have to deal with machine code. An abstraction made by humans for humans to use.

    This is one of the issues I see with LLMs for code: instead of engineering and leveraging machine learning for optimizing specific problems, we’re now forcing text prediction engines to write human oriented text that happens to be a programming language.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      7 hours ago

      This is stupid. The whole point of programming is to make computers do things. Before computers, “code” was just hand wavy equations. Sum from 1 to n stuff.

      Yes it is designed so that humans can understand it, but the point is to make computers do stuff. Very obviously.

      • Mr. Satan@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        You wouldn’t mind writing machine code then? Ok, I’ll give you assembly. It’s all that’s needed to tell a computer what to do.

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          3 hours ago

          Of course I wouldn’t write in raw machine code, or even assembly. We invented higher level languages that are more powerful and easier for humans to use…

          But the purpose is still to make machines so stuff!!! I’m not just writing code so that other humans can marvel at my algorithms.

          This is so freaking dumb.

          • Mr. Satan@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            3 hours ago

            easier for humans to use…

            And that is my point. The primary purpose for all these abstractions is for humans to use. It’s first and foremost designed to be read and understood by humans, to make programming easier for humans.

      • kibiz0r@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        Make computers do stuff for what purpose?

        I joke to my family that I just name things for a living. When you take away all the incidental stuff like files and pointers and ports, that’s really all it is. “This sequence of events with these properties is called <this>, and when you ask our system what to do about it, it does this other sequence of events with these properties which we call <this other name>.”

        It’s kinda like those ancient stone tablets that are the first example of writing, and they’re just like “Ramses owes Jeremiah 5 chickens” or whatever. It’s just how we manage abstract concepts moving around our civilization. Yeah there’s math involved, but every endpoint is a human being in one way or another.

        • FizzyOrange@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          Make computers do stuff for what purpose?

          For whatever task you’re trying to get them to do. Predict the weather, solve an equation, format a document, etc. Computers can do useful things. We program them so that they do those things.

          This is the most ELI5 thing I’ve ever written. If you actually understand programming and you don’t realise that it exists to make computers do things then you’re surely just being deliberately obtuse.