Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2021-07-25 10:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found