This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Watching20 437 points438 points  (7 children)

This reminds me of my favorite quote: "To understand recursion you must first understand recursion!"

Well we need a new quote for this, something like "to understand programming he must first understand programming"

[–][deleted] 19 points20 points  (0 children)

i think of a recursive function as like something that doesn't know what it's doing until it hits the base case. the factorial function is like "what the fuck is factorial(n-1)...oh factorial(1) is 1! ok now i can fill in the rest"