Perl is slow:Well, it is interpreted
Well, Perl is slow compared to languages like C, but the impact its "interpretedness" has isn't great. (For the record, Perl isn't interpreted. When you run a Perl program, it first gets compiled into bytecode. Then the bytecode gets run). Even if you was a compiler that turned Perl code into a native binary, Perl would still be slow. The slowness is the price you have to pay for the flexibility you get.

For instance, from a programmers point of view, a scalar can hold a number or a string. That's convenient. But if you want to add two (integer) variables, in C you have the addresses of the variables, so it's just FETCH, FETCH, ADD. Not so in Perl. You first FETCH the meta data (SV), which is a struct. Then you test whether the variable holds an integer value (check a bit in one of the structs fields). If it has an integer value, do you a FETCH of that (add offset to pointer stored in the SV struct). If not, fetch the string value (follow two pointers from the SV), turn the string value into a pointer, store the integer value (which may require upgrading the PV hanging off the SV into an PVIV), and flip the bit in the SV. Repeat this for the other value. Then you add the two values, giving you a new value. Said new value need to be stored into an PV, which needs an SV as well, so you've two calls to malloc to get you memory for the structs. Which you have to fill in. Of course, this assumes no magic has been attached to the values. Which you have to check for.

Compared to C, this makes Perl slow. Now, this is a price we all pay gladly; but that doesn't make Perl fast.

Perl is prone to obfuscation:
It's hard to create a useful language where it's hard to do obfuscation.
PHP is for web development
Many people consider Perl to be for web development as well. And it's hard to deny. The sharp increase of the usage of Perl in the mid nineties coincided with the general public discovering the "web".
but I have seen full applications (not web related) written in PHP
Well, people use regular expressions to find prime numbers, but that doesn't mean regular expressions are for numerical calculations.

In reply to Re: Revisiting the old clichés of programming languages by JavaFan
in thread Revisiting the old clichés of programming languages by citromatik

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.