A Vestigial Query
by in CodeSOD on 2010-04-28When people think about "vestigial" organs, they think that we're toting around these useless lumps of flesh that just take up space in our bodies. Nothing could be further from the truth, of course- vestigial organs are organs whose original function has become redundant or superfluous, but generally have adopted some sort of secondary function. Our appendix does nothing to help us digest (its original purpose), but it does some tasks for our immune system and occasionally explodes and kills us.
So it is with our software. As any project evolves, sometimes code becomes vestigial, serving only some minor function and occasionally exploding. Randy discovered this block of code when he was tracing through a production issue.