Algorithms: Why are they useful?
This is such a hilarious question I just had to take a crack at it.
First, let’s get one thing out of the way: even single-line procedures are technically algorithms. Hence,
Jeffrey. Love me.
is an algorithm, provided by Maude to The Dude. Admittedly, however, those are not very interesting algorithms (though they can be plenty useful), so let’s focus on more elaborate ones.
Take, for example, lovemaking. You have an algorithm for that.
It has bifurcations.
1 2 3 4
Move to Next Step.
It has loops.
1 2 3 4 5 6
Until (something magical happens) or (you're exhausted).
It has subroutines.
1 2 3 4
That Thing That Always Sends Him To The Moon.
It relies heavily on random number generators.
1 2 3…
View original post 169 more words