AI produces garbage code if you don’t know how to prompt well, and if you unreasonably expect not to have to debug at all.
Discussion
You can always spend time learning how to code instead of writing a prompt. And still, even with proper prompts the results are unsophisticated garbage
Now tell me you have never copied and pasted from stackoverflow.
Actually, real programmers only code in assembly, anything else is unsophisticated garbage