Hello all. I am curious about something. I've been handed an old code base which I have been wading through for the past six months or so. It's pretty old with some patch work here and there. Some features are pretty new and some too old to remember when they were implemented. I was also handed this by a person who (despite the fact that they built the entire code base) was essentially teaching himself how to code it. Suffice it to say, there are plenty of issues with the code. I've noticed many and corrected some. My question is simple. How do you go about refactoring your code base? Do you schedule it? Do you clean as you go? Do you keep lists of bugs and fixes you know you need to implement but might not be urgent at the moment. Just curious about what the people smarter than me do. Thanks for reading!