• Funderpants @lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    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.