• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    6
    ·
    22 小时前

    I’ve seen plenty of code in my life, from humans and AI.

    For the past year or so, these agents can code just fine most of the time, as long as they are given enough context (or have the tools to get it). Regardless of how many downvotes I get here, they really are capable of generating decent code. I’m sorry you couldn’t make it work yet.

    • takeda@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      15 小时前

      I’ve seen too as I have to review it. AI produces very professionally looking bad code.

      It is so weird to explain, but that’s basically what I see.

      Before LLM I could immediately tell someone’s code is crap, now I have to spend a lot of time trying to understand what it does to reach the same conclusion.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        10 小时前

        My honest opinion is that it’s bad because a lot of people using LLMs have no standards and push the first thing that seems to work. Be mad at who’s at the driving wheel, not the car.

        You absolutely can generate crap with agents/LLMs, and like a humans writing, the first draft will probably be subpar or maybe complete garbage. Every new session is a clean slate, that’s why putting effort in the documents guiding it is so important.

        • takeda@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          4 小时前

          Maybe I have some ridiculously high standard, but whenever I used it, I wasn’t happy with what it generated.

          I noticed that the time it did it + the time for me to review it and possibly fixed was at best the same amount of time it took me to write, at worst it was longer.

          For hard problems that I stumbled on it was useless.

          For simple problems it worked and produced good code, but it still took less time for me to write it than waiting for Claude to finish thinking.

          Everyone swears that they can produce good code with LLM and it is others who are bad, and LLM is force multiplier to them. But from what I see the only time it can speed up their work is if they never review it or even take time to understand the actual problem they are trying to solve.

        • Nalivai@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          7 小时前

          The car analogy doesn’t work because you’re not the one making the code/driving the car. It drives itself, and you sometimes can propose some directions for it to steer.
          The problems with llm aren’t just that sometimes your shit doesn’t work or obviously bad, that’s what you’re talking about, and that’s what minimally responsible sloperators can catch. The main problem is it writes something that looks OK to a human (that’s a criteria for it) but sometimes it’s unexpectedly idiotic in random places (because not being idiotic wasn’t a criteria). You need to check way more thoroughly for it, and you can’t use normal shortcuts that help you with it. So you obviously don’t do that.

          • Eager Eagle@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 小时前

            See, that’s the issue. People letting it “drive itself” get worse results. You should be the one holding the standards and guiding the model, otherwise you will be frustrated.

            • takeda@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              3 小时前

              I saw this advice too, the problem with being very detailed is a question why not use a less ambiguous languages to do it?

              Why not write the explanation in language like Python. Why should I write it in English when I can say the same thing in Python and it is actually easier to do for me.

    • Eheran@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      4
      ·
      19 小时前

      But AI bad and human code is so awesome! Better downvote. But seriously, there are people here saying that LLMs can not add anything of value in any way. About as delusional as Republicans.