Learn how code works before you lean on AI.
If you can't debug what it writes, you get stuck in a loop. Fix, new bug, another fix that doesn't make sense. And the codebase keeps growing.
AI is fast. Knowing why the code works is what keeps it from making a mess.