Tag

stackoverflow-exception

Stack safe recursion in Java

By Pierre-Yves Saumont

In this article, excerpted from the book Functional Programming in Java, I explain how to use recursion while avoiding the risk of a StackOverflow Exception.

© 2022 Manning — Design Credits