chatgpt gets things wrong,very wrong it also has a very bad habit of writing code that has no proper bounds checking and there is plenty code that if you give it - and ask it to explain it - it has no idea what it