Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
So you want to become a better programmer? Perhaps you'd like to give back to the community? You may not feel worthy, you may not have a brilliant module idea, but you still would like to do something. If only you knew where and how to start...

Run tests. Write tests. It's that simple.

Seriously. Programmers like tests about as much as documentation, but they can be fun and just as challenging. Think of it like a game -- how much can you test? Can you test something thought "untestable"? Can you get 100% coverage of all the paths?

Start by looking at Test::Simple. It comes with a document called Test::Tutorial. The basics are really very simple. Either something is okay or it isn't.

From there, pick a module you like. Start with something small, just one function. Write a few tests that prove it works.

If you're exceptionally lucky, you may discover a bug. Write a test that proves it's a bug, then write a patch to fix it. All of a sudden, you're not just a hero for testing, but you're a superhero.

If you're capable of using modules, you're capable of writing tests. It's that easy. It's that valuable. Hop to it.

Update: fixed link per converter's suggestion.


In reply to How You (Yes You!) Can Get Involved by chromatic

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (11)
    As of 2014-12-17 20:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (32 votes), past polls