Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

When is it too soon to learn Perl?

by gryphon (Abbot)
on Sep 24, 2001 at 22:28 UTC ( [id://114387]=perlmeditation: print w/replies, xml ) Need Help??

On Friday of last week, I became a father! My wife gave birth to a beautiful baby boy we named Alexander. Check out our baby Web site for pictures and more information. As any father ought to be, I'm very proud, excited, and tired. There are a lot of thoughts going around my head at this point. The experience is very surreal. However, there are a lot of decisions I need to make in the near and distant future regarding my son and how he's raised. A small, but important question that came to mind was regarding my son's programming education.

When is it best to start teaching Perl? When is it too soon? (Is it ever too soon?) On Sunday, I talked with Alexander about Perl and a few other languages. He seemed to respond well to a piece of paper that said #!/usr/bin/perl by waving his hands and smiling. Shortly thereafter I showed him a piece of paper with ReDim MyArray(0 To 100) as Varient and he started fussing and pooped. Obviously he prefers Perl to Visual Basic, but does that mean I should start teaching him OOP Perl now or just the basics?

In all seriousness, though, I am interested in when such learning is good. I started taking violin lessons using the Suzuki method when I was five years old. I really loved it, and I still play to this day. The method teaches that the only reason why children shouldn't take lessons prior to age five is because they typically don't yet have the fine motor control required to play the instrument. However, they certainly have the mental capacity. Perl programming does require typing on a keyboard, so perhaps this physical requirement would limit learning to a particular age.

However, I don't see why a child of younger than five couldn't learn the basics of linear non-procedural programming. I remember learning a form of BASIC somewhere around the age of 8 or 9. I didn't have any problems with it at all, and it was entirely self-taught. It seems fairly apparent that a child of age 3 could learn the basics of BASIC.

The other thought I had was what if Alexander wants to learn a lesser language over Perl? Should I let him try and get frustrated, or should I encourage Perl first? I'm not sure which is the best approach, and I see advantages and disadvantages to each side. However, I think at this point I would encourage Perl as a first language, but support Alex in whatever language he decided he wanted to learn first. Perl is typically a utilitarian language, very powerful, but not visually impressive at the simple learning layer. Visual Basic, while a terribly annoying language, does allow for rapid and impressive GUI development with little effort. I can see how Alexander might be drawn to the visual aspects of VB at a young age.

Taking into account these issues, I'm probably going to start Alex on Chess long before learning any programming languages. And I'll probably start him off with HTML as his first "language" once he reaches a basic familiarity with computers and the Web.

-gryphon
code('Perl') || die;

Replies are listed 'Best First'.
Re: When is it too soon to learn Perl?
by mirod (Canon) on Sep 25, 2001 at 00:30 UTC

    Frankly I would give the kid a break and give him a chance to play, enjoy the outdors and read before even thinking about putting him in front of a computer.

    I know we all love computers around here, but I don't know why my son should. Why should I be force him to learn my trade, or even why he should be exposed to it before he asks for it.

    Plus I don't want to raise an idiot-savant. I had never seen a computer before I went to college (yes, that's how old I am! My parents did not even get a TV until I was 10 or so), and I don't think that's a handicap when it comes to coding skills. Developing my imagination through reading seems to me the single most important part of my education, the one that helps me the most when I am programming. And even if I sucked at soccer, at least it taught me to respect other people's skills!

    So please, give your kid a chance to grow up as a human being, not as a programer. He will thank you for that.

    BTW, the paragraph about how scary it would be for you to see him take to VB instead of Perl is Hilarious, good job ;--)

      I agree with mirod on this. I have had past experience with having certain sports forced on me when I was a kid, and it was not as fun to do those sports as ones that I chose on my own to play.

      Let your kid decide eventually. You ultimately can't make your child do everything you do ... but you can be an example of what you do, and if the kid is interested, they'll let you know soon enough.

      Andy Summers
Re: When is it too soon to learn Perl?
by archen (Pilgrim) on Sep 24, 2001 at 23:49 UTC
    (First of all, congratulations of course)

    Think I'd buy him a pile of Lego's first. Based on how complex the stuff he builds is, you can see how when he might take to programming. If you want to teach logic, creativity, and who knows how many other skills - Legos are where it's at.
      Yes, Lego is great! I know that, I went through this stage 35+ years ago. Also, coloring books are fine. And just playing outdoors, running and biking...

      To learn programming, children have first to learn to read, write and compute. Unless you have a very gifted child, you will have to wait until he is 5 year old or so. Until then, all he will do is use the mouse, or using PLOKTA-mode with the keyboard.

      On the other side, I have seen a friend's son, 6-year old. At school, he was learning to read and write, on his very first year. And at home, he was playing Sid Meyer's Civilization. According to his father, he was rather good at it.

Re: When is it too soon to learn Perl?
by japhy (Canon) on Sep 24, 2001 at 22:39 UTC
    I didn't learn Perl until I was 15. Maybe this is "early" for some of the people here, and maybe it's "late" (take premchai21, for example). I don't think it hindered me to learn it at that age.

    I'd been using BASIC on a Commodore-64 since the age of 10, I think. Then some JavaScript around 14 or so. C++ didn't work for me -- it was far too strict and rigorous.

    Perl opened doors for me. Perl allowed me to use my brain, and not C++'s idea of a brain. It let me do things my way, which ended up being the Perl way.

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Re: When is it too soon to learn Perl?
by footpad (Abbot) on Sep 25, 2001 at 07:10 UTC

    Congratulations. My daughter is nearly three and I understand your joy, your awe, and your exhaustion.

    The smart-aleck in me wants to answer your question with, "well, the moments leading to conception might be a little early, as well as self-defeating--er--I mean, inappropriate and/or distracting; however, any time after that would be just fine...provided you ensure that the desire to learn Perl is his and not yours."

    I don't mean that to be offensive; I do mean the latter bit. In watching my daughter grow, I've noticed that she is her own little person. She has her own likes, dislikes, and desires. While my wife and I work very hard to curb her more selfish desires--and to teach her the finer arts of listening, sharing, and being nice, we also try to make sure that she (my daughter) knows that she can do anything she wants to do, if she's willing to work hard enough and (as Elmo says) "keep trying." Should she ever show an interest in what I do for a living, I will happily show her what I can. (I've already built her a dual boot Win98/Linux box.)

    I can't speak for my wife, but I do it because my father is very good with cars. He grew up on a farm in the Midwest and the ability to tinker with engines was an absolute necessity. He loves to tinker with them until they work and tried very hard to instill the same love of engine tinkering in me. Put bluntly, he failed. I can't stand working on cars. I can do it if I have to, but much prefer to pay someone else to deal with it.

    IOW, it's good to let your child share in your joys, but don't forget to encourage him to develop his own and then participate in them as fervently as he wants to help you. (And he will get to the "I want to help" stage...it won't last, but it will happen.)

    I'm sure you're already planning this, so please forgive the fears of a square peg someone once tried to punch into a round hole.

    And, please, before you get to chess, don't forget to play "Rock, Paper, Scissors, " "Checkers," "Tag," "Peekaboo," and whatever else he wants to play. Children are beautiful creatures. Let them enjoy (and take time to enjoy and reflect on) their childhood and their innocence, too.

    --f

Re: When is it too soon to learn Perl?
by greywolf (Priest) on Sep 25, 2001 at 00:31 UTC
    Congratulations!

    Whenever a child is smart enough to ask you a question about a subject they are probably ready to learn a little about it.

    Update: Good point tilly!

    mr greywolf
      I like that rule, but be aware of how they handle it when you teach them a little bit about it. If every simple question on their part gets a lecture, the kid will learn to associate the subject with lectures and will avoid it. Let them set the pace.
Re: When is it too soon to learn Perl?
by perrin (Chancellor) on Sep 25, 2001 at 00:02 UTC
    I think he could learn Perl as soon as he knows how to read and maybe understands simple math. I learned Applesoft Basic when I was 6. It had good simple graphics capabilities and it was fun. Of course, we didn't have any commercial games available back then.

    I do think that easy graphics are key to enjoyment, so maybe something like Logo might be better for starting off.

Re: When is it too soon to learn Perl?
by dooberwah (Pilgrim) on Sep 25, 2001 at 03:02 UTC
    I think it really depends on how much your child can concentrate and how much you want to treat it as a formal education. I have a brother who's 10 and an exceptionally bright little dude. He asks me to teach him programming but whenever I try to teach him he soon grows bored. He also plays cello and has mastered it much more than programming. I think this is partially due to my parents making him practice every day for a set amount of time. If you make Alex practice his programming every day then you could probobly start teaching him around age 6 or 7 and he'd get great at and enjoy it a lot. Of course if he doesn't enjoy it you might not want to try to force him to do it at all.

    I remember when I was around 5 or 6 my dad would teach me really basic math operations which I just loved. Every few evenings I'd ask him to teach me some math and he'd show me how to do some addition or subtraction, and then later multiplication and division. I thought this was the coolest thing ever because I was learning math which made me feal extremely proud and happy.

    Alex might even ask you about programming. I know that I was always very interested in what my dad did at work and for play.

    -Ben Jacobs (dooberwah)
    Homepage: http://dooberwah.perlmonk.org
    PGP Public Key: http://dooberwah.perlmonk.org/mykey
    "one thing i can tell you is you got to be free"

Re: When is it too soon to learn Perl?
by blakem (Monsignor) on Sep 24, 2001 at 23:31 UTC
    Just wanted to say congratulations!
    Perhaps Alexander and tonio can become perlmonks together....

    -Blake

Re: When is it too soon to learn Perl?
by Dragonfly (Priest) on Sep 25, 2001 at 11:29 UTC
    Well, they say it's never too soon to start a child on the path of learning, but be careful; if he ever goes through a rebellious period in his teens you just might catch him releasing closed-source spyware apps written in Visual Studio. ;-)

    I guess if he were my child, and he started to show an interest in computers, I'd start off by making little logic games and puzzles, perhaps, and teaching the kid pattern recognition by playing card games like Concentration or even Go Fish. If you can find a good way to use simple games and fun little puzzles to illustrate concepts like decimal vs base2/base8 (not quite sure how you'd do that) I know those concepts would eventually come in handy for him.

    To reiterate what the others here have said, however, I would be very wary of trying to push the young child in any particular direction, and certainly stay away from forcing the issue. If he feels like he has no choice but to do what you say, it might create a psychological barrier when it comes to programming that may be difficult to overcome. I know that I had a deep aversion to playing the piano for many years because my parents forced me into lessons and recitals, which I didn't enjoy at all at the time. Later I discovered a love for the guitar, but it took me a long time to overcome some of my feelings of anxiety and resentment and truly start to enjoy music.

    If you are concerned about the visual aspect of programming beckoning him, you might want to look at the older language, Turtle, which allows kids to draw pictures by specifying where they want the turtle to go. It brings back fond memories, and there is probably an open source variant somewhere with updated code.

    Above all, congratulations; bringing a life into this world is a precious gift, and you sound like you are going to be an excellent parent.

Re: When is it too soon to learn Perl?
by synapse0 (Pilgrim) on Sep 25, 2001 at 03:11 UTC
    Congrats.. I know the feeling.. my kid just turned 7 mo.s... started crawling a couple of weeks ago.. started standing a few days after crawling (crazy.. just crazy).. and it seems one of his favoured toys is the keyboard.. (eww.. drool). I figure I'll show him what I know.. write games for him, show him how they work if he gets interested. Hopefully he'll get into it. I plan to make sure he's away from the computer alot too.. outdoors is a wonderful place. So really, I'll be feeding his brain, just as I've already been doing, for as long as he seems interested.
    -Syn0

    Incindentally, my one perl script that's out there for the world was a product of my son's birth. EIGHT, an image gallery i created so the fam could see images of Obi as he grew up.
Re: When is it too soon to learn Perl?
by panguar (Sexton) on Sep 25, 2001 at 23:21 UTC
    It's only too early to teach a child programming if the child doesn't want to learn it. I clearly remember programming in Apple BASIC when I was 4 years old. But my programming education was cut short when I became frustrated that my father couldn't (or didn't bother to) sufficiently explain (in a way I understood) why a for loop was used to make the computer pause for a few seconds ("but why do they call it a 'for loop', daddy?"). I promptly stopped programming at age 5, preferring late nights of Rocky's Boots and hex-editing my Bard's Tale characters. I started programming again when I was 18 and in college. I realized I had missed it greatly. I really wish I had continued to program from ages 5-18.

    So in short, don't force it on the kid, but if the kid shows interest, it is never too early.

    -panguar

Re: When is it too soon to learn Perl?
by the_slycer (Chaplain) on Sep 26, 2001 at 11:08 UTC
    Just to add my nugget of wisdom(?). I am the proud father of a 3 year old and a 5 month old. My 3 year old is very bright (she is almost reading now) and has shown a keen interest in what I do on the computer. So far, she just hangs over my shoulder and watches me code, she knows that I write "perl code", but she does not grasp the concept quite yet.

    However, she truly enjoys chess, my wife and I both play, and we introduced Eden to it about a year ago. Start off real slow, just show her how to move the pieces, and let her win a lot. She is obviously still not a challenge, but she does get a kick out of it, and she is learning more as time goes on.

    Good luck, best wishes, and as someone else said here earlier, spend as much time as you can with them early on, it moves SO incredibly quick

    As I think anyone with a child about this age could tell you:
    The handprints on the wall get higher and higher, and before you know it, they are gone.
    Source unknown.
Re: When is it too soon to learn Perl?
by TGI (Parson) on Sep 26, 2001 at 03:54 UTC

    Congrats, my spawn is two and a half. ('No nap, Daddy. No nap!') You're in for one hell of a ride. Spend as much time as you can together. You won't believe how fast he changes.

    Pick up a copy of Seymour Papert's Mindstorms (Lego named their bots after this book.)

    Teach the skills needed to analyze problems and learn. To this end teach mathematics, programming and logic. Programs are proofs and proofs are programs. As a 7 year old, Logo programming was the sh!t. Applesoft basic was also fun because of the easy graphics. IMHO, to make perl interesting, you'll need to come up with an easy way to make pictures.


    TGI says moo

Re: When is it too soon to learn Perl?
by beretboy (Chaplain) on Sep 26, 2001 at 23:40 UTC
    Congrats! I am only twelve and I have no problems learning perl. My first Real programming language was javascript and I regret not learning perl sooner.I do however think javascript is a great language to start with because it is realatively simple but the concepts you learn from it can be use in the learning of other languages.In my opinion age does not matter, if you want to, you can learn anything at any age (provided you an read and speak :-) ).

    "Sanity is the playground of the unimaginative" -Unknown
Re: When is it too soon to learn Perl?
by meonkeys (Chaplain) on Oct 13, 2001 at 05:46 UTC
    Congratulations, Gryphon!

    I would guess--if I may be allowed to brazenly pigeonhole childhood--that the most important things learned by children are discoveries. Maybe this applies to children of all ages.

    My advice would be to let him ask you, to some degree. Whet his appetite with a sample, and welcome any approach with helpful information, but do not conveyor belt him into programming. Be supportive of his desires to be a policeman, a travel agent, a dreamer, and an explorer.

    -Adam

    --
    "A Jedi uses the Force for knowledge and defense, never for attack."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://114387]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-24 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found