-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.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).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.Also, I am always wondering, how much more iterations are there until I get to some final, perfect, optimal solution.Or will I really end up with one single line of code in the end? :)