bogo-sort
From S23Wiki
| This is the JargonFile (V4.00) entry for bogo-sort - Next: bogometer, Prev: BOFH | |
| :bogo-sort: /bohgoh-sort/ /n./ (var. stupid-sort) The archetypical perversely awful algorithm (as opposed to bubble sort, which is merely the generic *bad* algorithm). Bogo-sort is equivalent to repeatedly throwing a deck of cards in the air, picking them up at random, and then testing whether they are in order. It serves as a sort of canonical example of awfulness. Looking at a program and seeing a dumb algorithm, one might say "Oh, I see, this program uses bogo-sort." Compare bogus, brute force, Lasherism. | |
| * (text is auto-included via JargonExtension by mutante using jargon with VERSION 4.0.0, 24 JUL 1996 - JargonFile by Eric S. Raymond is in the public domain) | |

