• @ArbiterXero
      link
      English
      671 year 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
        link
        English
        27
        edit-2
        1 year 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.

        • @whileloop
          link
          English
          191 year ago

          Couldn’t even write a void method right, return true!

          • LazaroFilm
            link
            English
            31 year ago

            LMAO. At list it didn’t sudo void (:

      • Ertebolle
        link
        fedilink
        61 year 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.

      • Semi-Hemi-Demigod
        link
        fedilink
        61 year 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

        • @SpaceNoodle
          link
          English
          31 year ago

          So just a little more time-consuming than just reading the online documentation.

          • Semi-Hemi-Demigod
            link
            fedilink
            01 year ago

            It’s a lot less in my opinion, because you can just ask it a question rather than having to read and interpret things. Every programming tutorial in every language is going to waste my time explaining how loops and conditionals work, when all I want is how this language does them.

              • Semi-Hemi-Demigod
                link
                fedilink
                01 year ago

                Right, but you can’t give it the variable names you’re using and have it fill them in, and if you want to do something inside that loop with

                I can ask ChatGPT “Write me a loop in C# that will add the variable value_increase to the variable current_value and exit when current_value is equal to or greater than the variable limit_value, with all the variables being floats”

                You won’t find that answer immediately on the Internet, and you’re more likely to make errors synthesizing the new syntax.

                But you do you, I’ll keep using ChatGPT and looking like a miracle worker.

                • @[email protected]
                  link
                  fedilink
                  English
                  41 year ago

                  Right, but you can’t give it the variable names you’re using and have it fill them in, and if you want to do something inside that loop with

                  Why are you actively trying to avoid learning how to write the loop? Are you planning to have ChatGPT fill in your loop templates for the rest of your life?

                  But you do you, I’ll keep using ChatGPT and looking like a miracle worker.

                  It’s going to be slower overall than just using the reference and learning how to do it. I really, really am skeptical that a developer at the level where they need that feature is going to seem like a miracle worker to anyone other than people who are just impressed when you can do anything with a computer.

                  • Semi-Hemi-Demigod
                    link
                    fedilink
                    01 year ago

                    Why are you actively trying to avoid learning how to write the loop? Are you planning to have ChatGPT fill in your loop templates for the rest of your life?

                    First, how is this different from having your IDE fill in your loop templates?

                    Second, no, of course I learn how to do it and then copy/paste from my existing code like a normal person.

                    Third, this is much more customizable. The example I gave is pretty simple, but you can explain algorithms to ChatGPT and have it figure it out.

                    Finally, I’m usually doing this for a customer in a language I’ll never use again. Last week it was LabView. My role has me writing proofs-of-concept for customers frequently so I’m not going to learn something I’ll never use again.

                    It’s going to be slower overall than just using the reference and learning how to do it.

                    Not when you’re not familiar with the syntax and don’t have an IDE set up for it.

                    other than people who are just impressed when you can do anything with a computer.

                    This happens in my job a lot more than I’m comfortable with.

                • @[email protected]
                  link
                  fedilink
                  English
                  21 year ago

                  If writing simple loops with ChatGPT makes you a miracle worker then you might have other problems than AI.

                  And even simple things break down when you ask it about using library functions (it likes to hallucinate heavily there).

                  • Semi-Hemi-Demigod
                    link
                    fedilink
                    11 year ago

                    It’s not that writing loops does it, it’s that I can ask ChatGPT to hand me pre-assembled parts that I can snap together instead of typing them out with my squishy human fingers. And I can do it for pretty much any language without too many syntax errors.

        • LazaroFilm
          link
          English
          21 year ago

          Yea I ask it to show me examples of how to solve specific tasks. Not a whole app.

      • kitonthenet
        link
        fedilink
        3
        edit-2
        1 year 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

    • @[email protected]
      link
      fedilink
      English
      151 year 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.

      • @scarabic
        link
        English
        241 year ago

        So… they failed 13.34% of their own unit tests?

        • @[email protected]
          link
          fedilink
          English
          111 year 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
        link
        English
        71 year 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
      link
      English
      111 year 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.