ChatGPT has a ways to go - the hallucination problem is... a problem - but I've successfully used it to create draft code for (fairly obscure) game programming tasks. You need to know the subject matter well to find / fix any incorre