Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Well, cover the basics first: statements, variable types, constructs, operators, functions, file handling, regular expressions, subroutines, modules. Of course, references, hashes and objects are part of these basics.

Next on my list of important things is general knowledge of programming. I know many people advise to learn programming in a structured way with another programming language than Perl, like C. Perl has a very easy learning curve, for starting programmers. After the basics, the learning curve becomes more steep. But still, it's possible to do this with Perl. Just keep in mind that you have to be able to read your own program after a year. Better still, imagine that you have to write a program that has to be maintained by a murderous psychopath with a big axe, who will not be happy when he cannot understand the code. When you learn programming in Perl, read many examples and books, see how things are done there. Make your code a pleasure to read, it must be a joy to see you code, and no murderous axe-man will come after you.

As important is documenting your code. Try to be a teacher with a very difficult and rough class. It should be fun to read your documentation. After a year, you should be able to understand your own code by just reading the documentation.

Of course, all of this goes for programming in any language.


In reply to Re: What's the most important thing to learn in the Perl world? by woolfy
in thread What's the most important thing to learn in the Perl world? by ghenry

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-03-19 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found