Don't try to convince someone by trotting out a list of things you think make Perl cooler than other languages. Chances are good that the person who knows "other language" better than you will already know how to accomplish the same thing in a more "other-language-ish" way.

That's a good point. And if he really cared about regexes and glue language, he'd already be using Perl. The fact that he thinks one regex implementation is as good as another tells me that a list of Perl's strengths just isn't going to impress him. (The fact that he used "easy" and "Java" in the same sentence makes me think I wouldn't try.) Perl isn't a buzzword language; a lot of what makes it special is hard to define.

Take statement modifiers, for instance. At first glance, they may seem superfluous -- they don't let you do anything you couldn't already do with normal loops. But it's hard to describe how much they aid the process of reading and writing code (and how frustrating it is to switch to a language that doesn't have them). Similarly, it's hard to explain why =~s///g is so much better than preg_replace(), but it is. I think a lot of Perl is that way.

Aaron B.
Available for small or large Perl jobs; see my home node.


In reply to Re^2: Argument for Perl ( again and again ) by aaron_baugher
in thread Argument for Perl ( again and again ) by heatblazer

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.