Explain recursion to your kids
Today saw this explanation of recursion on proggit (direct link). This is the best way to teach recursion for kids (3 to 5 years).
A child couldn't sleep, so her mother told her a story about a little frog,
who couldn't sleep, so the frog's mother told her a story about a little bear,
who couldn't sleep, so the bear's mother told her a story about a little weasel...
who fell asleep.
...and the little bear fell asleep;
...and the little frog fell asleep;
...and the child fell asleep.
One thing I like best about reddit is the comments.


Brilliantly done!
natraj
20 Sep 08 at 1:18 am
Superb post! I read it aloud to my friends here.
We all ended up in laughter.
Pradeep
20 Sep 08 at 10:35 pm
[...] - Recursion saved by hpatner2009-05-31 - Explain recursion to your kids saved by elreverend2009-05-29 - Brendan discusses how TraceMonkey is climbing faster; Ruby on [...]
Websites tagged "recursion" on Postsaver
3 Jun 09 at 6:17 pm