• @stebo02@sopuli.xyz
    link
    fedilink
    457 months ago

    I never copy code from chatgpt. It’s not my code and it probably doesn’t work. However it is great at making suggestions on how to tackle a problem or how to improve your code. Use ChatGPT like Stack Overflow, with instant replies.

    • @Railcar8095@lemm.ee
      link
      fedilink
      177 months ago

      This. I always use that example, ChatGPT is stack overflow or a very eager intern. Review and make test cases

      • @stebo02@sopuli.xyz
        link
        fedilink
        117 months ago

        That’s why you should always verify the information with other sources. Just like information you get from any other website/person. It’s not any different.

      • @Gabu@lemmy.ml
        link
        fedilink
        7
        edit-2
        7 months ago

        TBH, if you can’t almost instantly figure out why and how ChatGPT suggested bad code, you shouldn’t be using it at all - you’re out of depth.

        It’s why I’ll gladly use it to suggest markdown or C code, but never for a complex Python library.

      • R0cket_M00se
        link
        fedilink
        English
        57 months ago

        Blaming the AI for misinformation is like blaming Google for giving you bad search results.

        Learn how to parse the data and fact check it. Usually you can get a hyperlink to the source to see if it’s even reasonably trustworthy.

    • @tweeks@feddit.nl
      link
      fedilink
      67 months ago

      Plain copy paste without a critical view is not recommended, but it surely provides good pieces of code from time to time. Especially in obscure frameworks/languages, compared to what can be googled.

      ChatGPT 4 is a really big difference with 3.5 though. What took me hours together with the 3.5, was fixed in a few minutes with 4.