Recursion is hard! But luckily you can "get it right" once and reuse it in other projects.
Recursion schemes is a code pattern that allows you to automate the process of traversing and recursing through nested data structures by separating recursion out of the rest of the logic. They allow you to use off-the-shelf libraries to do the recursion for you, so you can write less code and potentially fewer bugs!
In this talk, Tamer will share with you an example, a JSON data-structure, walk-through a step-by-step transformation of the code to use a recursion schemes library. By attending you will understand the gist of Recursion Schemes and how to use it in your codebase.
YOU MAY ALSO LIKE:
Recursion Schemes: How to Factor Recursion Out of Your Codebase
Tamer is a Senior Software Engineer at Disney Streaming Services, building and maintaining distributed systems armed with nothing but Scala, types and the power of functional programming.