-2000 lines of code
I love the feeling after having rewritten some code part with the results of having it much shorter, much clearer, more stable and even faster. :) In almost all cases, it was worth it.<p>The strange thing is, sometimes there are multiple iterations of this on the same code part (sometimes by different people, sometimes even by my own).<p>Then I am thinking, maybe I just have gotten wiser, have learned my lesson or whatever. Stupid me that I haven't implemented it in the first place like this.<p>Also, I am always wondering, how much more iterations are there until I get to some final, perfect, optimal solution.<p>Or will I really end up with one single line of code in the end? :)