Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I think, a "good programmer" will not only write in the comments what one or two particular obscure lines do, but more importantly, he inserts a little paragraph describing the method of solving the problem and why he is doing it that way. That helps tremendously... because it's one thing to be able to write code. I'm a beginner at perl, and I feel like I can pretty much write anything I need at this moment, but reading and understanding a code that someone else has written requires a lot deeper knowledge of a language. I look at perl code that others have written, and it looks like a foreign language to me sometimes.

Anyone who knows a couple of programming languages already can easily pick up perl in a matter of weeks like I did. So, why are employers afraid of perl? They aren't afraid because someone can't learn to write perl; they're afraid because the next guy will have to be able to read perl. And reading requires a lot more studying and a lot greater knowledge. That's something you can't just learn in two weeks. You have to know all the various frameworks or libraries and intricacies of a language. That requires years of experience. That's why employers are afraid. BUT I think, if you write extensive comments in your perl programs, even a dummy will be able to understand what this program is for and why it does what it does. If you put that much effort into commenting, I think he will change his mind. Write an example program, and show it to him. Show him that even someone who knows nothing about perl can read it and understand it, because that's how you write perl code. He'll change his mind!


In reply to Re: Perl Contempt in My Workplace by harangzsolt33
in thread Perl Contempt in My Workplace by rje

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 having a coffee break in the Monastery: (3)
As of 2024-04-25 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found