September 1, 2017

Recursion

Those of you who are software developers -- particularly C/C++ -- know, or should know about recursion. It is basically the programming equivalent of a bird flying in an ever-diminishing spiral (and what spiral is not ever-diminishing?) until it eventually flies up its own asshole.

Here is a recursive function in C++.


..and here is the concept for real.


Have a shot of Old Rebel Yell; it'll calm you down.

(..courtesy of  90 Miles From Tyranny .)

No comments:

Post a Comment