9 ways chatGPT can help you if write code: 1. Explaining code 2. Improve existing code 3. Rewriting code using the correct style 4. Rewriting code using idiomatic constructs 5. Simplifying code 6. Writing test cases 7. Exploring alternatives 8. Writing documentation