The Intelligent Design Sort

To heck with bubble sort, selection sort, insertion sort, and all the rest. Yes, all of those algorithms were intelligently design, but none of them follow the precepts of Intelligent Design.

And, now, David Morgan-Mar gives us Intelligent Design Sort.

(found via Steve Jackson Games)

More like this

I have to take back some of the mean things I've said about Intelligent Design creationism. They have finally made a significant contribution to a science…in this case, computer science.
Multiple people have written to me, after seeing yesterday's
I take my criticisms back. It seems Intelligent Design creationism has made a profound contribution to computer science. Introduction
tags: sorting quiz, online quiz

Here's some pseudo-code:

LIST ID_Sort(LIST list)
{if(list)//already sorted! Praise the sorter!
return(list);}

By Brian Thompson (not verified) on 23 May 2007 #permalink

Brian -- the best part of your pseudo code is that the return value is undefined if the list isn't already sorted! :)

-Rob

if(list)//already sorted

I'm _appaled_. This step is clearly questioning the perfection of the Sorter!