Articles tagged with #Functional Programming

Python Recursion: a Trampoline from the Mutual Head to the Memoized Nested Tail

Article Header Image

Recursion is a key concept of programming. However, it is usually only superficially explored. There are different ways of having recursion, this post will illustrate them using Python examples, call graphs and step-by-step runs. Including cases of head, tail, nested and mutual recursion. For each case, the call graph will be shown.