remember that chatgpt takes public code examples. sometimes it modifies them, sometimes not. so you only get code that once got written by a human. it can be really bad or pretty good. you will always need to understand the code