Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by TedPride (Priest)
on Apr 30, 2005 at 21:29 UTC ( #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.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2014-08-27 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls