Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
[erix]: friction gives warmth!
LanX comes back ...
[LanX]: FIGHT?
LanX orders pop corn
[erix]: ha ha, you missed it

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-03-19 21:29 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.