Any tips on understanding recursion?

Trying to understand recursion in Elixir. Sometimes it is simple based on the problem, sometimes it is hard. Any suggestions on how to learn and understand it better?

4 Likes

Corresponding tweet for this thread:

Share link for this tweet.

1 Like

Check out PragProg ‘Learn Functional Programming with Elixir’ chapter on recursion. That might help.

3 Likes

I agree - I learnt some really cool things in that book!

#book-learn-functional-programming-with-elixir

Here’s my review of it:

The book’s author @ulissesalmeida is here on Devtalk too :+1:

3 Likes