Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 chanting in the Monastery: (12)
As of 2015-07-01 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls