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 TedPride (Priest)
on Apr 30, 2005 at 21:29 UTC ( [id://452933]=note: print w/replies, xml ) Need Help??


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

A basic knowledge of reading and math is necessary to properly learn a programming language. Assuming you have that, Perl is as good a language as any to start with. You don't need to be complicated -
$cash = 10.00; $chocolate = 1.20; $bread = 0.99; $candy = 0.50; $cash = $cash - $chocolate; print "I have $cash left.";
or
for ($i = 1; $i <= 20; $i++) { print "I have completed the loop $i times.\n"; }
My dad tought me BASIC programming at age 9, including use of loops and variable input / output, and it shouldn't be difficult to teach the same thing in Perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-24 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found