• GreyEyedGhost@piefed.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Well, I won’t take it personally. Part of the flaw in both ideas is that it is impossible to describe precise, complex tasks, clearly, comprehensively, and succinctly, which means that AI as a developer replacement is about as flawed an idea as a natural language used for programming. I’ve programmed before, but I’m no Linus Torvalds. I’m not going to tell him that the way he’s doing the job he’s done his whole adult life is wrong. Is he wrong? Could be. Are he and you right, and that, ethical issues aside, AI can be used as an aid to write world-class code? Could be. Frankly, I’m more willing to trust his judgment over yours or mine, because I know his credentials and mine in this field, and I don’t really know yours at all, no offense. We will see, whether we want to or not.

    • MagicShel@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      Yeah for sure. People can only judge me by what I say, and rabid rants don’t help anyone’s opinion of me. Been doing this for thirty years. Been into AI gen as a curiosity since gpt2. But I’d still take the word of Linus over me when it comes to coding, you’re not wrong there.

      But I spend a lot of time thinking about how to write good code, with and without AI. AI can write code pretty well. I mean 99% of code isn’t cutting edge never-been-done-before shit. The problem is telling the AI precisely what to do.

      See, we have a language for telling computers what we want them to do. We have a shitload. They are called programming languages. They are the most semantically concise way we have of telling the computer what to do. But the problem we’re trying to solve is it’s easy to get wrong and it takes lots of time.

      What we need is a way to describe what we want in a way that isn’t miscommunicated and is easy to read. Natural language is neither. We’ve started going down a road by describing everything is markdown as structured prose. We have to go further. We have to remove the prose from the specification because it’s the ambiguous part. We need a way to describe what we want in a way that’s less precise than code itself, is more restricted in what it can do — save the really whiz bang stuff for specialized functions that are hand written or described in another format for that kind of thing.

      I don’t know exactly what it is. It’s something like OpenAPI. Some kind of meta-language or a combination of meta languages that together describe precisely what is wanted. Anyway it’s like an itch in the back of my mind. I can feel it.

      Then, AI still likely can’t code as well as the best humans but I’ve been doing this a long time — most human coded software is a pile of shit, too, hung together with spit and baling wire. Compromises are made because we don’t have time to do things the right way. There are schedules to keep and budgets to maintain and nothing is ever delivered that is exactly what was intended. I see it every day. For most software, AI will be no worse than human coded. And it’ll be delivered faster. And if it’s architected the right way, you can redo bits and pieces that are really fucked up while leading the overall structuring in place.

      That’s where us old senior fucks come in because we know that part. How to hang it all together. That’s the part AI will never be able to do. Because you’re CEO can’t describe what the fuck he wants. He just has a rough idea.

      Anyway that’s my TED talk or whatever.

      • GreyEyedGhost@piefed.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        Well said, and along the lines of what I think. I’ve seen such shit code, and some of it was pretty unreadable then, too. If the AI code is readable we can get a lot of the basic stuff to be more consistent and generally of a higher quality. If the AI code isn’t readable by someone familiar with the type of work being done and we use it anyway, it might as well be magic, and not in a good way.