Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

soonix's scratchpad

by soonix (Curate)
on Jan 25, 2013 at 21:42 UTC ( #1015413=scratchpad: print w/ replies, xml ) Need Help??

For explaining how recursion works, let's go to a real life example: When I was a child, there was no Wikipedia, so we had to resort to books. Now, when you browse through an encyclopedia, there are many interesting articles about interesting topics, and most of them reference to other interesting articles. When you start with "Computer", you might be led to "programming", then to "algorithms" and via "cryptographic algorithms" finally arrive at something related to WW2, and in the end you forgot how you ended up there, or even where you started.

Here we see the first difference between humans and computer. For Wikipedia (or perlmonks, btw), you can use the back button.

Now, to come closer to our subject, you could open Wikipedia in your browser, make it <not> full screen, and select an article

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-09-19 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (138 votes), past polls