•  li10   ( @li10@feddit.uk ) 
        link
        fedilink
        English
        501 year ago

        Because forum posts are always full of accurate and helpful information?

        In my experience it still makes good suggestions for most things, and is better than trying to phrase things in a way that Google likes, then trawling through irrelevant forum posts.

        It’s only there to make suggestions, so if someone is taking its output without understanding and treating it like gospel then they’re an idiot who’s inevitably going to end up in a world of trouble.

        If you take the suggestion, verify it with documentation, then make sure you actually understand it, chatGPT is a great tool.

        • If I’m honest, stackoverflow was always a shortcut for searching documentation to me.

          Simple stuff like how do I turn an InputStream to a String again? I can’t remember it, but I know exactly what to look for, I’m just to lazy.

          For that kind of stuff ChatGPT is almost perfect.

        •  Wren   ( @wren@sopuli.xyz ) 
          link
          fedilink
          English
          101 year ago

          Because forum posts are always full of accurate and helpful information?

          Not necessarily, but at least there’s much more opportunity for other people to jump in and correct false info or expand upon something. It’s by no means a flawless system, but it’s better than only have one source of information

        • I didn’t say that people should go on the internet and pick the first forum post either ; that would be like trusting whatever chatgpt is handing you :p

          My point was more on the “people are lazy” side of things, but yeah you have to stay critical of both chatgpt and forum posts.

        • Sadly there are so many people that take its output as gospel and don’t realise it can be wrong. So is a tool that commonly gets abused by people that don’t know how to use it.

      •  Aidan   ( @Aidan@lemm.ee ) 
        link
        fedilink
        English
        3
        edit-2
        1 year ago

        You can have it generate shitty code and then compare it against examples it finds online to iterate that code. Also, it was trained on the whole internet, including those good solutions, and can often reproduce them on its own. but you have to tell it, explicitly, to do all this to make better code, rather than just asking for the code.

        •  Gork   ( @Gork@lemm.ee ) 
          link
          fedilink
          English
          111 months ago

          “I’m sorry, as an AI language model this question has been asked too many times and there is insufficient computer resources to handle your request. You’ve been temporarily silenced for 15 minutes.”

      • Doesn’t need to be good. Just good enough that people need SO less often. If GitHub Copilot gives a code suggestion, I don’t need to look up some syntax or some method I forgot. I’m reminded, and can see that it’s correct. No searching online required.

      •  Gork   ( @Gork@lemm.ee ) 
        link
        fedilink
        English
        111 months ago

        It’s a little more decent than you give credit for. I use it all the time for easy generic subroutines and functions. It struggles a bit with specific, complex requests but is generally pretty versatile as a miniature code assistant. It’s good at catching human errors like loops starting or ending at the wrong specified integer, so I use it as a debugging tool.

      •  li10   ( @li10@feddit.uk ) 
        link
        fedilink
        English
        91 year ago

        I think it’s overblown tbh.

        In my experience it still makes good suggestions for most things, and is better than trying to phrase things in a way that Google likes, then trawling through irrelevant forum posts.

        It’s only there to make suggestions, so if someone is taking its output without understanding and treating it like gospel then they’re an idiot who’s inevitably going to end up in a world of trouble.

        If you take the suggestion, verify it with documentation, then make sure you actually understand it, chatGPT is a great tool.

        •  Funderpants   ( @FunderPants@lemmy.ca ) 
          link
          fedilink
          English
          6
          edit-2
          1 year ago

          ChatGPT has been a great tool to help me teach coding. It lets my students with a few months experience write better code, as if they had a few extra months experience, but like you say it’s very easy to get in trouble with it. We had it generate some code to interface a web app with some cloud triggers, and chatGPT suggested we put all the API keys / creds right there in the front end where anyone with “view source” could see them. It made for a really good lesson, actually, on the need to gain experience, understand what code does , and to validate with documentation.

        •  Gork   ( @Gork@lemm.ee ) 
          link
          fedilink
          English
          111 months ago

          trawling through irrelevant forum posts.

          This makes it worth it from just a time savings perspective. Also, describing it as trawling is very accurate lol. It takes a lot of trawling to get the answer you need, and even then sometimes it isn’t right because you’re relying on a single individual’s answer.