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

RE: Re: OOXML

Subject: RE: Re: OOXML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 1 Jul 2008 18:25:52 +0100
RE:  Re: OOXML
> Yes -- strictly speaking XSLT and XQuery are declarative and 
> not functional -- functions are not first-class objects and 
> the languages are not based on the lambda calculus & 
> combinator theory.
> 
> People use the term "functional" loosely to mean 
> "declarative", 

I wouldn't be quite so prescriptive in the terminology. As with OO,
functional programming is an "orientation" rather than a set of conformance
rules. Yes, neither language has higher-order functions (though as everyone
on this list knows, XSLT can simulate them quite well with nodes linked to
dynamic templates acting as a surrogate for a higher-order function); but
the most important characteristic of functional programming is the use of
functional composition as the execution model, with no distinction between
expressions and statements. Both languages have that (though XQuery is
becoming less pure over time, it seems.)

Michael Kay
http://www.saxonica.com/

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-2011 All Rights Reserved.