xsl-list
[Top] [All Lists]

Re: [xsl] Haskell programmer's rant about xslt

2012-04-16 15:17:55


On 16/04/2012 20:58, Max Toro wrote:
Quote:
"The fact that you can't know what any single line of code does
without reviewing every other line in the program makes this language
an abomination. "

Yes, I suspect it's a complaint about precedence-based pattern matching; a technique with a long history in text processing, all the way back to Snobol, but one that makes some programmers uncomfortable because (as with decision tables or logic programming) they can't always predict what their own code will produce. Which is actually one of its strengths. I'm constantly surprised and delighted by the output of the Saxon optimizer, which has similar characteristics.

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--