I have to disagree. It's true that Perl is not the only language that saves people time, and it's true that many of the things people mention in threads like this could have been done equally well in Python, say. But it's not true that anything Turing-complete is equally good at time-saving.

In my case, when I say "Perl saved me time", I typically mean "CPAN saved me time". The extraordinary depth and variety of libraries available at the touch of a button does make a real difference in my work, and does save me a significant amount of effort relative to working in some other languages, such as C++.

Even for languages with rich libraries, the learning curve for those libraries may differ wildly. Just recently I needed to produce a simple GUI application in a hurry. I wasn't familiar with any of the options. I actually gave some serious thought to using Java, since that would have had certain advantages in this instance. But I took a long hard look at Swing, and then I took a short hard look at Perl/Tk,* and it was quite simply a good order of magnitude simpler. It would have taken me several days to get anything working in Java, while with Perl/Tk I had a functional prototype by the end of the afternoon.

(Could Tcl have saved me just as much time? I doubt it; I was using a number of other CPAN libraries in the same project. Did Perl itself have anything to do with the simplicity? Yes; it has proper closures with a lightweight syntax, which makes defining callbacks much simpler than Java's cumbersome anonymous-inner-class approach. Am I claiming it's better than Java for all purposes? Not at all. I would hesitate to deploy a Perl/Tk app enterprise-wide; Java's lack of expressiveness comes hand-in-hand with a much greater availability of maintenance programmers, and I have no end of respect for their remarkable ability to tolerate endless VerboseBoilerplateFactoryVisitors.)

* And some sidelong glances at Gtk2, etc, but Perl/Tk was already installed on all the servers, and that's a BIG bonus.

In reply to Re^2: How has Perl saved you time at your job this week|month|year|decade? by Porculus
in thread How has Perl saved you time at your job this week|month|year|decade? by missingthepoint

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.