The Eric Normand Podcast
What is tail recursion?

Episode 123 · Season 1

What is tail recursion?

The Eric Normand Podcast

15:29

About this episode

Tail recursion is a kind of recursion that won’t blow the stack, so it’s just about as efficient as a while loop. Unfortunately, not all platforms support tail call removal, which is necessary for making tail recursion efficient. We talk about what it is and how to do it, even if your language doesn’t support it.

More from The Eric Normand Podcast

In this episode, I introduce the time lens, and I posit a law about representing time in complex domains.

10m

In this episode, I introduce the volatility lens, which seeks to help us write code that deals with a changing world.

18m

In this episode, I introduce the architecture lens, its questions, and its goal of modeling architectural domains to manage complexity.

24m

In this episode, I introduce the executable specification lens, its questions, and its goal of getting to runnable, testable code as quickly as possible.

15m