Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
The stupid question is the question not asked
 
PerlMonks  

Re: How to introduce 8 year olds to (Perl) programming?

by johndageek (Hermit)
on Apr 26, 2005 at 17:29 UTC ( #451688=note: print w/ replies, xml ) Need Help??


in reply to How to introduce 8 year olds to (Perl) programming?

Your take on computers being dumb is a good idea!

One tack you could take would be that computers are tools to make our lives easier. For example, say you were caught making fun of the computer and you had to write “I will not make fun of the computer” 100 times. How long would it take you to write that?

Break out a keyboard and make a simple program.

Print “I will not make fun of the computer\n”;

Run the script.
Run the script.
Run the script.

Well, That’s three times, it is easier than writing it by hand, but what if we make it easier.

change the script.

For (1..100){ Print “I will not make fun of the computer\n”; }
Run the script.

Prove the stupidity of computers by putting in a misspelling, or 1000 instead of 100.

Looks like there have been several good ideas, Good Luck!

Enjoy!
Dageek


Comment on Re: How to introduce 8 year olds to (Perl) programming?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://451688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-04-17 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (444 votes), past polls