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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I liked merlyn's suggestion of teaching from the Llama book. But I had a thought on how you might condense.

You mentioned that your target audience already have experience with C++. Take the philosophy of leading a horse (or budding Camels) to water, rather than trying to force him to drink. Rather than attempting to teach Perl in a day, teach those parts of Perl that are easy to see as advantageous strengths over, say, C++. If they're thirsty, they'll start with that kind of an introduction and run with it.

For example, while teaching out of Llama, specifically go over topics such as hashes, lists/arrays, regexps, go heavy on DWIM'ery, file operations, including specifying alternate input record separators, show a trick or two with split, a trick or two with map. Dynamically create code and eval it. Delve a little into references and data-structures. Use that to lead into doing a Schwartzian Transform with short-circuit fallthrough to demonstrate how to sort on multiple criteria... those are just a few thoughts.

I guess what I'm saying is that you probably can't teach Perl in a day, but you can teach why this group should invest the personal time required to learn it. Stress quick development time, rich syntax, extreme flexibility, etc. Even stress extensibility; the fact that Perl can incorporate C/C++ in its code, and the fact that C/C++ code can embed Perl. And by all means, show off CPAN. You have a good opportunity, in that you're talking to already reasonably coherent programmers. You will be most successful in turning a few of them into Perl programmers if you devote your time to showing what is in store for those who grab the torch and run with it.


Dave


In reply to Re: Requesting suggestions for one day Perl course by davido
in thread Requesting suggestions for one day Perl course by talexb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found