Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by johndageek (Hermit)
on Apr 26, 2005 at 17:29 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-09-07 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.