Lord of the Regexes
Three regexps for the Python-kings under the sky,
Seven for the Ruby lords on their Rails of stone,
Nine for C++ doomed to die,
One for Larry Wall on his dark throne
In the Land of Perl where Obfuscation lies.
One regex to match them all
One regex to find them
One regex to replace them all and in the text file bind them
In the Land of Perl where Obfuscation lies.
(With apologies to J.R.R. Tolkien)
December 13th, 2009 at 5:40 PM
You’ve probably already seen this, but here’s the abstract of the Revised^2 Report on Scheme:
Data and procedures and the values they amass,
Higher-order functions to combine and mix and match,
Objects with their local state, the messages they pass,
A property, a package, the control point for a catch —
In the Lambda Order they are all first-class.
One Thing to name them all, One Thing to define them,
One Thing to place them in environments and bind them,
In the Lambda Order they are all first-class.