Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Creating an Intermediate Perl Programming Curriculum

by hv (Parson)
on May 03, 2004 at 21:48 UTC ( #350153=note: print w/replies, xml ) Need Help??


in reply to Creating an Intermediate Perl Programming Curriculum

(In no particular order ...)

  • How do I find things out?
    • online docs, perldoc, grep
    • people
    • mailing lists
    • usenet
    • websites
    • search engines
    • books
    • which to use when, and how to use them effectively
  • how to deal with people
    • how to ask a sensible question
    • how to become part of a community, and the value of doing so
    • what information to include
    • what information not to include
    • choosing a subject
    • asking in the right place
    • following up
  • How to debug a program
    • warnings
    • strict
    • the test suite
    • adding temporary diagnostics
    • modules: diagnostics, Carp, Data::Dumper, Devel::Peek
    • the debugger
    • the source code
    • knowing the style of code you write
    • see "How do I find things out" above
  • How to think when writing a program
    • top down: how to decompose a problem into smaller parts
    • bottom up: routines you know you'll need
    • middle out: write the hard bit first
    • OO: what are the objects?
    • making things readable
    • making things reusable
    • refactoring
    • (many others, pick what's suitable ...)

Hugo

  • Comment on Re: Creating an Intermediate Perl Programming Curriculum

Replies are listed 'Best First'.
Re: Re: Creating an Intermediate Perl Programming Curriculum
by demerphq (Chancellor) on May 04, 2004 at 09:46 UTC
    <shameless type='plug'>

    modules: diagnostics, Carp, Data::Dumper, Devel::Peek

    I must admit my hopes are such that one day people will include DDS in that list, especially when that list is intended for debugging. DDS is much more accurate than DD, easier to read, and now that I provide a 'DDS' alias much easier to type too. :-) In addition I'm working right now on a ':Peek" export tag that will include the standard Devel::Peek stuff as well. :-) So that

    use DDS ':Peek';

    will do more or less the same thing as

    use Data::Dumper; use Devel::Peek;

    The only problem is I want to load Devel::Peek dynamically and export Devel::Peek::Dump as Peek(), but i havent worked out how to do it without changing the refcounts of the arguments yet. Ill figure it out soon, and then expect to see v 1.11 with Peek support included.

    </shameless>
    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-05-29 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (166 votes). Check out past polls.

    Notices?