Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by chas (Priest)
on Apr 25, 2005 at 20:33 UTC ( #451341=note: print w/replies, xml ) Need Help??

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

I guess if I had to do something like that, I might write a very simple program that asks a few questions and then "magically" tells the user their age or birthday or some number they've thought of, etc. (Based on some simple algebraic identity...probably you've seen many such.) That might catch their attention, and then you could show them the few lines of code. Since Perl code can be written so that it is almost English, that should be understandable and also illustrates things that programs can do - communicate with user, store input in a variable, do arithmetic calculations, etc. In fact, it's sounding more doable all the time ... (except maybe for the "who don't/barely speak english" part.) Even if they don't understand perfectly, they'll come away with some ideas, and that's probably the best you can do in the situation you describe.
Good luck!
  • Comment on Re: How to introduce 8 year olds to (Perl) programming?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://451341]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-08-16 22:08 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (276 votes). Check out past polls.