Writing code with AI is almost just writing the code yourself in a different programing language. You have to be just as tediously specific about everything you want the program to do and the AI often creates new bugs or even removes old features when implementing new ones.
See Tweet