One of the points I never see mentioned is being able to segment test and develop code.

For example you are building a simple system that takes user input from a form and puts it into a database.

With java - you need to build it, compile it, run it, and check the database.

With perl, you can code and test the routine that grabs the input. You can code and test the routine that builds the sql queries to put the data into the database. You can effectively code an entire system in parts, assemble and run.

I very often will work on one piece of a script at a time, and bash all the bits together when they all work. Can't do that with Java.

You certainly cannot build a one or two line piece of code to test regex's in Java.

Now in your situation, short - documented and runnable bits of code make training easier, and makes converting those *on the edge* easier.

Another neat touch would be make a java and perl version of the document, something that could put the document in a nice html format in their browser. Then show them the source code for each and (if possible) go through the steps to make a change or two. Edit-run vs edit-compile-run.

EEjack


In reply to Re: Perl advocacy by eejack
in thread Perl advocacy by tinman

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.