One of my favorite use cases for ChatGPT? I give it my code and ask it to improve it. The results are sometimes wrong, but most of the time I learn something new and get to remove a few lines of code.