• Funderpants @lemmy.ca
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      4
      ·
      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@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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.