Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

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

Your co-worker keeps telling you how Python is `powerful', why not tell him how Perl is powerful too? Each language has its strengths and weaknesses. If he claims that Perl has no strengths or Python has no weaknesses, stop the debate because it will get you nowhere.

If Python is better than Perl because it has simpler syntax, then LISP is better than all languages ever because the LISP syntax is the simplest. What sets Perl apart from all languages is its context dependency. An expression means different things depending on where you put it. This may be overwhelming for beginners. As you advance through the language, the language advances with you. Simple constructs are available for beginners.

Perl allows you, among other things, to write concise programs that are exactly to the point. Shorter code that is still readable aids greatly in development and debugging cycles. Perl programs can literally speak and say what they are doing. You don't need to spell things that can be inferred from the context.

As others have already mentioned, CPAN is probably Perl's selling point. With tons of modules written to do almost anything, writing some very involved programs is as simple as calling a function defined in one of the modules.

As for whether Python is replacing Perl or vice versa, I don't think either will replace the other. Python and Perl have very different design goals. Python programmers are different from Perl programmers. They think differently, and that's why they chose different languages.

If you really want to know what will happen if Perl and Python get merged, look at the Parrot language.

Aziz,,,


In reply to Re: Perl VS Python by abstracts
in thread Perl VS Python by supernewbie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • 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 browsing the Monastery: (5)
    As of 2024-09-19 06:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      The PerlMonks site front end has:





      Results (25 votes). Check out past polls.

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.