bubble sort n.
Techspeak for a particular sorting
technique in which pairs of adjacent values in the list to be
sorted are compared and interchanged if they are out of order;
thus, list entries `bubble upward' in the list until they bump
into one with a lower sort value. Because it is not very good
relative to other methods and is the one typically stumbled on by
naive and untutored programmers, hackers consider it the
canonical example of a naive algorithm. (However, it's been
shown by repeated experiment that below about 5000 records
bubble-sort is OK anyway.) The canonical example of a really
bad algorithm is bogo-sort. A bubble sort might be
used out of ignorance, but any use of bogo-sort could issue only
from brain damage or willful perversity.
Techspeak for a particular sorting
technique in which pairs of adjacent values in the list to be
sorted are compared and interchanged if they are out of order;
thus, list entries `bubble upward' in the list until they bump
into one with a lower sort value. Because it is not very good
relative to other methods and is the one typically stumbled on by
naive and untutored programmers, hackers consider it the
canonical example of a naive algorithm. (However, it's been
shown by repeated experiment that below about 5000 records
bubble-sort is OK anyway.) The canonical example of a really
bad algorithm is bogo-sort. A bubble sort might be
used out of ignorance, but any use of bogo-sort could issue only
from brain damage or willful perversity.
Related:
- bubble sort: n. Techspeak for a particular sorting technique in
which pairs of adjacent values in the list to be sorted are
compared and interchanged if they are out of order;
thus, list entries `bubble upward' in the list until... - bogo-sort: /boh`goh-sort'/ n. (var. `stupid-sort') The
archetypical perversely awful algorithm (as opposed to {bubble
sort},
which is merely the generic *bad* algorithm). Bogo... - bogo-sort /boh`goh-sort'/ n.
(var. `stupid-sort')
The archetypical perversely awful algorithm (as opposed to
bubble sort,
which is merely the generic bad algorithm). Bogo... - naive adj.
1. Untutored in the perversities of some particular
program or system;
one who still tries to do things in an intuitive ... - brute force adj.
Describes a primitive programming style,
one in which the programmer relies on the computer's... - stupid-sort n.
Syn.
bogo-sort... - brute force and ignorance: n. A popular design technique at many
software houses -
{brute force} coding unrelieved by any knowledge... - stupid-sort: n. Syn. {bogo-sort}.
--
The AI Hackers... - 0055 Did you ever optimize a bubble sort?
--
from THE HACKER...
From the same category:
- Big Gray Wall n.
What faces a VMS user searching for
documentation.
A full VMS kit comes on a pallet, the documentation... - FTP /F-T-P/, not /fit'ip/
1. [techspeak] n. The
File Transfer Protocol for transmitting files between systems on
the Internet.
2. vt. To beam a file using the File Transfer Protocol... - stunning adj.
Mind-bogglingly stupid. Usually used in
sarcasm.
"You want to code what in ADA? That's a ... stunning... - gorp /gorp/ n.
[CMU: perhaps from the canonical hiker's
food,
Good Old Raisins and Peanuts] Another metasyntactic... - silicon n.
Hardware, esp. ICs or microprocessor-based
computer systems (compare iron).
Contrasted with software. See also sandbender...
