Perl is a great tool. Someone can teach you about a great tool, but to really master it, you're going to have to learn it. Learning doesn't necessarily follow from teaching.

Schools try to teach at a pace designed to fit a fixed amount of material into a fixed amount of time, and the content is often designed to satisfy some arbitrary goal (such as passing an AP exam). It's an attempt at a one-size-fits-all solution.

Is Perl the best language to teach CS? I don't think so. It's too easy to get sidetracking into nifty features, losing the essense of what's being taught. (C++ isn't any better as a teaching language, though with C++ you're trying to get past the language to solve a problem, as opposed to having lots of ways to solve a problem, each one a bit shorter than the previous.)

Better, I think, to treat Perl as a self-paced, independent study project. Pick a problem to solve that interests you, and learn enough Perl to solve it. Then learn a bit more Perl to solve it better. Then study how others have solved similar problems, and try again. Read articles. (merlyn has some great ones to study on his site.) Learn about benchmarking and profiling, profile your code. Find a good Perl programmer and ask them to review your code. Post it here. Take in the feedback.

That's the way to learn.


In reply to (dws)Re: Perl in school by dws
in thread Perl in school by dusk

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.