Honestly ChatGPT has been great for this for me. I input something I want to do, or even a code example, and ask if there is a quicker/different way. Often not perfect but a great resource to tidy/streamline some stuff.