ChatGPT is actually pretty good for programming, I've never had any problems with it in that area, and the best part is that you can easily verify if it got it wrong. The worst area for ChatGPT is probably any history field.