Monday, October 26, 2009

Lines (and lines and lines and lines...) of Code

I shall post a summary of all of the interesting things I've learned in Software Deployment and Evolution when I'm revising for the exam. In the meantime though this is a good example of why any company that thinks lines-of-code is a good metric compared to 'bits-of-functionality-actually-implemented' is a company to stay away from.

The Daily WTF: The Ultimate State Selector

My professor explained that he was once tasked with investigating a contractor who had recently failed deliver any real functionality - despite an increase in code size and hardware requirements. It turned out that the contractor had created a script to auto generate sutb/empty classes... thousands of them. Of course large, successful companies don't get where they are without precise standards and expectations on deliverables. So just how long did the contractor get away with this? Surely at most a month or two before someone said "Where is feature X? No... 3 years!! The contractor spent 3 years and a million dollars delivering nothing before anyone guessed something was amiss.

There is room for improvement.

No comments:

Post a Comment