• ArbiterXero@lemmy.world
      link
      fedilink
      English
      arrow-up
      64
      arrow-down
      1
      ·
      10 months ago

      As someone that uses ChatGPT daily for boilerplate code because it’s super helpful…

      I call complete bullshite

      The program here will be “hello world” or something like that.

      • LazaroFilm@lemmy.world
        link
        fedilink
        English
        arrow-up
        27
        arrow-down
        1
        ·
        edit-2
        10 months ago

        Absolutely I can create a code for your app.

        void myApp(void) {
          // add the code for your app here
          return true;
        }
        

        You may need to change the code above to fit your needs. Make sure you replace the comment with the proper code for your app to work.

      • Semi-Hemi-Demigod@kbin.social
        link
        fedilink
        arrow-up
        6
        ·
        10 months ago

        It’s great for things like “How do I write this kind of loop in this language” but when I asked it for something more complex like a class or a big-ish function it hallucinates. But it makes for a very fast way to get up to speed in a new language

      • Ertebolle@kbin.social
        link
        fedilink
        arrow-up
        5
        ·
        10 months ago

        OTOH, if you take that hello world program and ask it to compose a themed cocktail menu around it, it’ll cheerfully do that for you.

      • kitonthenet@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        10 months ago

        I can totally see the use case for boilerplate, but I’m also very very rarely writing new classes from scratch or whatever.

        As always, proof of concept or gtfo

    • KoboldCoterie@pawb.social
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      1
      ·
      10 months ago

      The study said 86.66% of the generated software systems were “executed flawlessly.”

      But…

      Nevertheless, the study isn’t perfect: Researchers identified limitations, such as errors and biases in the language models, that could cause issues in the creation of software. Still, the researchers said the findings “may potentially help junior programmers or engineers in the real world” down the line.

      • m_r_butts@kbin.social
        link
        fedilink
        arrow-up
        15
        arrow-down
        1
        ·
        10 months ago

        Ah, there’s the dream they’re chasing. Chatbots write the code for free, and junior devs play janitor to the robots and fix it up. No more expensive senior devs! The savings can be used as an executive bonus.

        • KoboldCoterie@pawb.social
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          1
          ·
          10 months ago

          And when the reviews are terrible and end users start reporting unreal quantities of bugs, they’ll fire the junior devs. They should have fixed those!

      • radix@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        10 months ago

        🎵🎵 99 little bugs in the code, 99 bugs in the code, Fix one bug, compile it again, 101 little bugs in the code. 101 little bugs in the code, 101 bugs in the code, Fix one bug, compile it again, 103 little bugs in the code. 🎵🎵

    • scarabic@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      10 months ago

      And how long did it take to compose the “assignments?” Humans can work with less precise instructions than machines, usually, and improvise or solve problems along the way or at least sense when a problem should be flagged for escalation and review.