Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I'm in a similar situation, without the system commands. We're running on Windows (not by my choice, but that's a topic for somewhere else) and the most intensive system call I do is pretty trivial.

I attempted to get people who know Perl to review my code, but it seems that I am the one with the most Perl knowledge on site right now. Or at least, no one else who knows Perl can be torn away from their tasks to review my code. My approach has been to make it as clear as possible what I am doing (especially since one of my tasks was to update a script written by someone who liked the "job security through obscurity" approach (and of course has since left)).

My code is most likely something that can be optimized to run more efficiently, and most definitely in a more Perlish mannner. But even where I do use concise code I comment the heck out of it. I have one particular script that is about 60% comments. This seems drastic, but it is very clear to people who don't know Perl what the script is doing or trying to do.

I have at least one advantage, from the sounds of it -- everyone who is reviewing my code is also a software engineer, so they are familiar with C/C++ at least, and reading Perl (well, my Perl, anyway) isn't a great stretch. If your co-workers are not programmers, then I think it might be more trouble than it is worth to try to get them up to speed on general programming practices. If/when you leave, and they need to fix the script, it might be better for them to hire on a contractor to do it for them.

My two copper-plated zinc bits.


In reply to Re: Convincing co-workers to learn Perl by Nkuvu
in thread Convincing co-workers to learn Perl by Limbic~Region

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 chilling in the Monastery: (4)
As of 2024-04-24 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found