• MoonRaven@feddit.nl
    link
    fedilink
    arrow-up
    54
    arrow-down
    2
    ·
    1 month ago

    I’ve seen the comments AI adds and yeah… No… It’s often pointing out the obvious or even in some cases just misleading.

    • Kindness is Punk@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 month ago

      Agreed it’s why if I’m asking for llm assistance I will generally start with a design for a component and ask it to follow that and comment accordingly usually leads to much better results than blanket asking it to do something for you

    • miridius@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 month ago

      Out of the box yes this is true, but:

      1. Custom instructions go a long way
      2. Review the code yourself, tell it what to fix, and it will fix it. For me it often takes like 5 rounds of this before the code is fully polished to the point I’m proud of it. And you know what? It’s still MULTIPLE times faster than typing code by hand. And at least for me, the quality is higher, because I have 12 different agents that review the work too and they catch additional issues that even I missed.

      If you or others ship shitty code don’t blame the LLM, the issue is entirely the engineer using it wrong

    • Jakeroxs@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      arrow-down
      4
      ·
      1 month ago

      You can add instructions to not comment, you can also have it explain what it does at every step, not everyone just doesn’t care about learning. It can be a very effective teaching tool if you use it that way. 🤷

      • CileTheSane@lemmy.ca
        link
        fedilink
        arrow-up
        6
        arrow-down
        2
        ·
        1 month ago

        AI is a terrible way to learn something. It will do something wrong, explain it incorrectly, and you will have no idea.

        AI is only useful if you are able to spot and correct the mistakes it makes. Because it will make mistakes.

        Very effective teaching tools already exist if you want to learn.

          • Shanmugha@lemmy.world
            link
            fedilink
            arrow-up
            5
            arrow-down
            1
            ·
            1 month ago

            Someone hasn’t done enough debugging in their life. I wish the lesson be as painless as possible

            • Jakeroxs@sh.itjust.works
              link
              fedilink
              arrow-up
              0
              arrow-down
              1
              ·
              1 month ago

              I’m definitely still a noob but I’ve done hundreds of hours of debugging on code in the past few months, and my job for the past 8 years is basically to troubleshoot issues, though the past year I got to start doing devops/code work on the side.

              Its fine though, I get why you guys are scared.

              • boonhet@sopuli.xyz
                link
                fedilink
                arrow-up
                4
                ·
                1 month ago

                Then you should know that code not working is the absolute easiest fuckup to catch. It’s literally not one to be concerned about.

                One in a million chance of an edge case that doesn’t throw an error at all, but does something unexpected? Good luck if you don’t know how the system works.

                • Jakeroxs@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  1 month ago

                  I do and please name a single human written program that doesn’t have a fuck up edge case that isn’t literally just hello world.

                  Neither humans nor AI generally write flawless code

                  • boonhet@sopuli.xyz
                    link
                    fedilink
                    arrow-up
                    3
                    ·
                    1 month ago

                    Neither humans nor AI write flawless code, but if you actually understand how your code works, you’ll have a significantly easier time finding that edge case, with or without AI.

                    If you only ever let your AI do everything for you, you’re at its mercy for debugging.