r/shittyprogramming • • Dec 05 '14

Recursion 101

Post image
316 Upvotes

73 comments sorted by

View all comments

6

u/seiyria Dec 05 '14

What is recursion?

27

u/bloodsh0t5 Dec 05 '14

To understand recursion, you must first understand recursion.

18

u/brewspoon Dec 05 '14

Always include the base case: you understand recursion.

3

u/detroitmatt Dec 08 '14 edited Dec 08 '14

To learn recursion: If you understand recursion, stop. Otherwise, learn recursion.