Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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,

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-02-21 06:24 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (275 votes). Check out past polls.