Hacker News new | past | comments | ask | show | jobs | submit login

Is this a good resource to beat the fear of recursion out of me? I get recursion, but it’s still really uncomfortable to think about.

I liked Common Lisp: A Gentle Introduction to Symbolic Computation. You can find its first edition online (free of charge): https://www.cs.cmu.edu/~dst/LispBook/

Apart from explanations, it also contains exercises and their solutions.

Woah! Thank you for the suggestion!

Just read The Little Schemer - the best book on recursion.

I'll check it for sure. Thanks!

learn Haskell or OCaml or something

alternatively just write more code because tbh that sounds like you just started programming

I find this dismissive comment funny: I started programming a long time ago in BASIC then assembly then Pascal then C and I still don't like recursion. I remember having to fix a bug in a recursive code that I didn't write: my feeling is that it is more difficult to debug recursive code than normal code.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact