Refactoring code
OK, color me weird, but I love refactoring and cleaning up code.
Over the last six months, I've built up a big pile of cruddy code. It was written in a hurry, in a language I wasn't familiar with, in an environment that I wasn't familiar with, and changed on a regular basis because the product changed underneath it. It was untidy and disorganized and badly-structured and all of the things that one might expect from that set of circumstances.
This morning I declared war and started refactoring and reorganizing.
I love the spring cleaning aspect of this.
I love that moment of clarity when you see exactly what the structure of the code should be. I absolutely love when you shuffle a bunch of stuff around, run it, and it works the first time. I love being in the groove and cranking it out and plowing through the problem like a madwoman with a purpose.
More than anything, I love looking at sparkling clean, straightforward, maintainable code. It makes me feel powerful and in-control.
It's Friday evening, and I don't even want to leave because I'm not quite done yet. I haven't really done anything new, but I feel like I've accomplished more today than I did in the last month.
Comments