Hacker News new | ask | show | jobs
by dmichulke 3896 days ago
Pro tip: In order to understand recursion, you have to either just know it or know someone who understands it.
4 comments

Understanding recursion:

If you understand it, you're fine.

Otherwise, go back to the beginning.

Not at all. This is just basic mathematical induction in reverse. I think we learned it in 7th or 8th grade.
I think he was making a meta-joke about recursion.
Not really, if you understand loops you understand recursion.

Loops are pretty easy to understand...

Recursion is Mathematical Induction, written as a program.