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

Heresy Re: Junior Perl

by Zaxo (Archbishop)
on Jun 12, 2001 at 08:06 UTC ( #87720=note: print w/ replies, xml ) Need Help??


in reply to Junior Perl

I have a radical suggestion, and a touch of disagreement with my esteemed brethren.

Some observations about children: they pick up language and patterns easily. They dislike sustained projects (though they often are obsessive about an interest). To them, the real game is learning the rules, not making a product.

What do you think of teaching text manipulation and regexes? Start with tr///, a Secret Decoder Ring. She can have fun with literals: s/Fido/Gimlet-Eyed Guardian/; s/Father/Couch Creature/; s/cat/dog/ .. hehe dogalog. Hmm.. can we avoid that? Time to find out about word boundaries

I think she needs no relevant project, just to learn the syntax and enjoy making lots of tiny programs. Like any other language, she will soon stitch together what she's learned into programs you never dreamed of.

Even experts like to do their learning on tiny irrelevant programs -- hence golf, obfu and poetry.

After Compline,
Zaxo


Comment on Heresy Re: Junior Perl
Re: Heresy Re: Junior Perl
by Odud (Pilgrim) on Jun 12, 2001 at 13:06 UTC
    I guess you are saying to introduce lots of small building blocks and see what she can build from them. It sounds good and I think I’ll try to do that. I wasn’t planning on keeping the difficult stuff for last but rather to introduce it when it appears natural. s/// in its simple forms shouldn’t be too hard to understand and the more complex use can be built up gradually as the need arises. Simple text processing should be introduced from the start. I always found this to be hard in the languages that I first learned – because they didn’t have the features that make it easy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-10-23 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls