Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I'm dating myself, but I cut my pattern matching teeth on the likes of Snobol and Icon. I can only think their omission reflects on the pollster's lack of experience. :-)

They contain a lot of features that Larry no doubt considered when designing Perl (since he's been around for a while). Ralph Griswold, a old-time language design guru and advisor of mine at the U of Ariz, wrote both of them, so I guess I'm pretty biased.

Snobol had the novel idea of success or failure of each line of code and allowed you to put optional goto's at the end of each line of code (shudder). You could compile code on the fly (ala eval).

Icon allowed you to get into the guts of the pattern matching behavior, allowing you to use generators (kind of like closures) and explicitly controlling backtracking. Actually it's pattern matching was too low level for me and Perl's re matching is much easier to deal with on a day-to-day basis. At a later time, they instrumented the interpreter and you could write hooks that allowed you to graphically see how algorithms executed in it. You could do things similar to the way that ActiveState's Komodo allows you to view an re as it matches text, but much more as well.

Both of these had dynamic data types and automatic garbage collection to make the programmer's life easier.

Ok back to reality - Perl has fixed a lot of the warts that they had though ...


In reply to Prehistoric Perls by bluto
in thread Favorite programming language, other than Perl: by Petruchio

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, 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, 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?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (11)
    As of 2020-04-06 15:05 GMT
    Find Nodes?
      Voting Booth?
      The most amusing oxymoron is:

      Results (39 votes). Check out past polls.