buried treasure


Also found in: Idioms, Wikipedia.

buried treasure

A surprising piece of code found in some program. While usually not wrong, it tends to vary from crufty to bletcherous, and has lain undiscovered only because it was functionally correct, however horrible it is. Used sarcastically, because what is found is anything *but* treasure. Buried treasure almost always needs to be dug up and removed. "I just found that the scheduler sorts its queue using bubble sort! Buried treasure!"
References in classic literature ?
I forget whether I have told you that there was a stave on the rock, driven into it by some buccaneers of long ago to mark the site of buried treasure.
No more can I look into the depths of this unfathomable water, wherein, as momentary lights glanced into it, I have had glimpses of buried treasure and other things submerged.
Had Wolfert Webber been deeply read in romantic legend he might have fancied himself entering upon forbidden, enchanted ground, or that these were some of the guardians set to keep watch upon buried treasure.
He now ordered his companions to keep close by him, and to maintain the most inflexible silence; that certain precautions must be taken and ceremonies used to prevent the evil spirits which kept about buried treasure from doing them any harm.
And I must say, sir," he went on easily, though saying what he would not have said had it not been for what he was almost certain he sensed of the ancient's anxiousness, "that the South Seas is just naturally lousy with buried treasure.
It is said that the inn-keeper hath a buried treasure, and I doubt not, my fair lord, that if you grant me leave I could prevail upon him to tell us where he hath hid it.
Two officers who are in command of a convict-guard learn an important secret as to buried treasure.
And that the rumors have existed so long and so continuous, could have resulted, it appeared to me, only from the circumstance of the buried treasure still remaining entombed.
He said something about a schooner that's gettin' ready to go off to some outlandish place to look for buried treasure, that he'd sail on her if his money held out.
Woe be to any one who would have attempted to disturb the buried treasure.
Early in the spring, being utterly destitute, and in great extremity, and having worn out the hospitality of the Snakes, they determined to avail themselves of the buried treasures within their knowledge.
Yes, there have been; but their names are always on grave-stones, and their sweet smiles, their heavenly eyes, their singular words and ways, are among the buried treasures of yearning hearts.