Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

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

Just another opinion

Having C, I think that Perl is a good value investment, easy to learn, easy to use, and easy to read. Yes easy to read!. After some time you can write indecipherable code in any language you want, but you can write clean code in perl easily, and you can (and should) document your code so this is not a problem at all. If you want unreadable code try lisp.

If you want to manage your home system, you should add at least some basic perl tricks to your toolbox. Point.

Python is useful also, but python code can be brittle. You can destroy your entire program just copypasting it to another place (Yes this is possible) and definitely is more restrictive. When you write perl code you can paint yourself in orange dancing nude at the highway at 4 AM. Some people will tell you that this was not your brightest idea, but if you want it, you can do it... With python not. You can not break the law. You must write your code exactly as python wants, and this is either marvellously fantastic or a real pain in the ass. Your mileage experience can vary.

With lisp you need first to build the road, and it will be a very nice eight-lane highway... someday.

Lisp is fragmented. Last time I was exploring it, I had stopped after counting more than 6400 symbols (functions, constants, structures) available; probably there are much more. Learning Lisp is complicated also, but IMHO at the end offers you more value and power for each gram of effort than you invest in Python. If you are a "C guy" looking for new challenges you definitely should consider expose yourself to a language that is more or less "the opposite" to C. You probably will hate me for saying this.

Let say that C "is" iron, perl is clay, python maybe glass-fiber, and lisp is... mmh, dunno, water?, air?. IMHO you should try Perl, and test the waters also with one of those: Python OR Lisp.


In reply to Re: I want you to convince me to learn Perl by pvaldes
in thread I want you to convince me to learn Perl by kasxperanto

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 contemplating the Monastery: (4)
As of 2024-04-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found