Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Teaching aid pragmas (perlite?)

by blogical (Pilgrim)
on Mar 30, 2006 at 19:03 UTC ( [id://540246]=note: print w/replies, xml ) Need Help??


in reply to Re: Teaching aid pragmas (perlite?)
in thread Teaching aid pragmas (perlite?)

That sounds very much like what I had in mind! Nice work, jthalhammer- a great idea.

I would probably look to criticism for the review mechanism, but use different criteria, based on a lesson plan, to disallow even some functions and structures that are proper perl and within the "best practices." The criteria would be gradually loosened as the lesson progressed and introduced new tools to the students.

criticism would be a great "post grad" recommendation, or exta credit challenge on assignments- see what level of criticism a student's code will pass thorugh unscathed.

"One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
- Henry David Thoreau, Walden

Replies are listed 'Best First'.
Re^3: Teaching aid pragmas (perlite?)
by jthalhammer (Friar) on Mar 30, 2006 at 21:55 UTC
    If you give me a few more specific examples, I can probably whip up something for you. Perl::Critic is very configurable & extensible. For instance, we could create a policy that would let you prohibit (or require) the use of an arbitrary set of builtin functions. Or limit the number of statements or operators or subroutines that you're allowed to use. I believe Perl::Critic has real potential as a teaching tool, so I'm genuinely interested in hearing your ideas.

    -Jeff

      While I would like to some day, I'm not currently teaching perl, and so don't have a syllabus to make suggestions from. merlyn, however, does.

      What about creating rules that could be exported individually, then using those to create progressive bundles (:lesson1, :lesson2) that would mirror a lesson plan? That way a teacher could tailor usage to their particular syllabus OR use the pre-made bundles? Autodidacts could also just plug in the right bundle to keep them on course, or eliminate specific rules as they get the hang of things.

      Perhaps it would be useful to create another meditation node focusing on picking out specific rules and creating a good, general syllabus (unless you adopt the current stonehenge one)? Most of my suggestions right now would probably mirror the chapters of the llama books, as that's how I learned it.

      "One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
      - Henry David Thoreau, Walden

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-04-18 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found