3 ms·
> As in all things, the basic idea behind recursion is quite simple to understand. It's just a function calling itself. That's not the whole story. There's mo
by eru 16y ago
> As in all things, the basic idea behind recursion is quite simple to understand. It's just a function calling itself.
That's not the whole story. There's more to recursion than that. You can have mutual recursion, and recursion in things other than functions: e.g. data structures, or the structure of the Mandelbrot set or that of the fern-like fractals.