-2000 Lines of Code (2004)
folklore.org
-2000 Lines of Code (2004)
1–10 of 54 posts
Re: -2000 Lines of Code (2004)
#2The 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? :)
Re: -2000 Lines of Code (2004)
#3I 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 whatev…
Re: -2000 Lines of Code (2004)
#4Reminds me of that TDWTF post where engineers were paid based on the amount of lines of code they had written - led to massive comment blocks explaining the simplest things ("This is a for loop that works by...").
[1]: http://webcache.googleusercontent.com/search?sourceid=chrome...
Re: -2000 Lines of Code (2004)
#5Google Cache[1]. Reminds me of that TDWTF post where engineers were paid based on the amount of lines of code they had written - led to massive comment blocks explaining the simplest things ("This is a for loop that works by..."). [1]: http://webcache.googleusercontent.com/search?sourceid=chrome...
where a guy boosts his line count by writing a program convert loops into goto spaghetti (pretty much like the generated assembly, right?).
But has anyone here actually been evaluated in this way? I've never heard about it first hand - it almost seems like an urban legend.
Re: -2000 Lines of Code (2004)
#6Re: -2000 Lines of Code (2004)
#7Re: -2000 Lines of Code (2004)
#8Another fun experiment is to measure developers using lines of code, and then switch to unit test coverage. For some reason, the code always seems to shrink.
Counting lines of code for maintenance work is a little like evaluating your mechanic based on the weight difference of your car before and after he fixes it.
Re: -2000 Lines of Code (2004)
#9I reported to a manager that attempted to measure our productivity fixing bugs by comparing the lines of code before and after the fix. Most fixes reduced the lines of code, so our numbers were usually either negative or close to zero. A couple weeks later the manager interrogated the team as to why we were so unproductive. Another fun experiment is to measure developers using lines of code, and then switch to unit t…
I love this comment.
Re: -2000 Lines of Code (2004)
#10I 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 whatev…