I have studied Haskell in college, and it was certainly different. I actually had no understanding of what map was doing in Perl until I saw some Haskell. The line between theoretical and practical knowledge is not one that I could draw.

I think Perl is more similar to Ruby than it is to Haskell in some ways, but I think the difference between Perl and Ruby is still significant. The idioms, the philosophy, the approach to solving problems, those things are significantly different in Perl and Ruby. You could say there's little difference between the syntax of C and Perl, but even though I can write Perl that looks very much like C, I certainly don't. I don't think Ruby people write Ruby that looks like Perl either.

I'd say learning Ruby if you already know Perl is like learning German if you already know English. Learning Haskell when you know Perl is like learning Japanese when you know English. (The analogy likely doesn't make sense unless you've studied all three of those, but anyways...) There can be benefit in both.

It's something to think about. I will consider diving into Haskell again. (I still have nightmares from last time though.)


In reply to Re^5: Right tool for the job? by chester
in thread Right tool for the job? by chester

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.