Ironically my undergrad coding course is actually immune to chatGPT because it's based entirely on multiple choice evaluation of pre-written demo code. (A no code coding class might sound like horrible pedagogy but it does focus students on learning to run code in their head).