AI can write useful code, but it can also produce unusable garbage. Here's my advice on making the most of AI from my many ...