Isn’t it great when you get in the zone when coding? Now and then you come to the end of the day and think:
Man I wrote a lot of code today
but, it is always nicer to think:
Man, I wrote some elegant code today
I was really excited as I had one of those days. Due to a major refactoring I was able to write negative code.
The LOC of my functionality went down by ~60%. Now, I am left with an infinitely cleaner API for myself, and others, to use…. and the innards are readable and grokable.
Gotta love nuking some code! Less to maintain!