Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-18 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found