[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Haskell programmer's rant about xslt

Subject: Re: Haskell programmer's rant about xslt
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 17 Apr 2012 10:56:20 -0400
Re:  Haskell programmer's rant about xslt
Hi,

On 4/16/2012 4:17 PM, Michael Kay 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 agree. I was puzzled by this criticism. Surely it wasn't about the encapsulation of logic in templates, subroutines, or (gasp) functions. So is he unhappy about data-driven transformations? (Does he have a better idea for this class of problem?)


Jirka, I think, is also on the mark:
OP was probably upset by some badly designed XSLT code ha has to cope
with it.

Quite. If there were as many well-meaning but overhasty self-taught hackers writing Haskell as XSLT, there'd also be lots of bad Haskell around to complain about. But there aren't, so no one bothers to call it an "abomination" either. (Really, that word has no actual denotation at all in this context.)


Cheers, Wendell

--
======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.