However, once you get it right you've unlocked something amazing and it can be reused in other projects. Watch this talk by Senior Software Engineer, Tamer Abdulradi from Scala in the City at Depop and you'll become a recursion professional.
A Basic Introduction to Recursion Schemes
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, and provide a walk-through of 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. There are no prerequisites to attend the talk, Tamer will be explaining any advanced concepts as you go.
Don't forget to sign up to the next Scala in the City at Medidata. It's our 1 Year Anniversary so we have an exciting schedule for you, find out more here.