Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://452933]
help
Chatterbox?
[Corion]: Whee! Germanys Grand Central Airport (for Berlin, re-scheduled for the thrid or fourth time, to open now in 2018) has just fired their technical lead
[ambrus]: Corion: Is their budget estimate four times the initial estimate yet? Was the construction late by six months already three months after they started?
[marto]: I'll believe it when I see it. That's been due for many years now :P

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-02-23 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (345 votes). Check out past polls.