Tuesday, March 1, 2011

Sifting Through the Junk

Garages are typically crammed with junk. We resist discarding this junk to prevent missing it in the future.  A beautiful house isn't littered with old newspapers that might someday be read.  Similarly, well-kept programs don't have large chunks of unused code.  Programs frequently receive new features, yet features that have become obsolete are rarely eliminated.  We need to overcome this fear of deletion in order to streamline our programs.

2 comments:

  1. This is a very interesting point that you bring up. I believe the reason that most software does not have old unused features removed from the code is so that the code can be reused or the feature can be put back into the software easier.

    ReplyDelete
  2. Perhaps programmers are to sentimental with their code. Deleting an old function is like sacrificing your firstborn.

    ReplyDelete