I'm a software engie from my prior career and I asked ChatGPT to both explain and provide an example for reentrant code. It did and nailed both. I think in the next 10 years AI will replace a lot of coding jobs.