A while ago I was explaining runtime mechanisms like the stack and the heap to some folks. Since the context was functional programming where recursion is a typical substitute for loops , an obvious topic for discussion is the possibility to hit a stack overflow.