Like many, I was not very interested in tail recursion – it’s just a way of writing a loop in a more verbose way, right? Luckily, Joe Marshall wrote a series of blog posts that made me reconsider my view – while self-calls might “only” be loops, mutual, never-ending tail-calls implement continuation-passing style, state machines etc. Glad I got one more erroneous belief out of my system!
Tags: Lisp