Leave it alone
You're viewing a single thread.
I’m a big fan or refactoring and rewriting my code as often as I can. Not only does it keep my brain “on topic” but it allows me to make major improvements. Nothing will ever be perfect. Just try to leave it in a better state than it was before.
At least untill you refactor something, and the act of refactoring, even though it shouldn't logically cause any problems, causes everything to break.
Then you’re not done refactoring ;)
Though usually not long after that point you start to ask yourself "Why the fuck did I get myself into this mess"
That’s ever day of my life 🥹