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

RE: RE: Declarative programming requires a different mindset

  • From: "Michael Kay" <mike@saxonica.com>
  • To: "'Norman Gray'" <norman@astro.gla.ac.uk>,<xml-dev@l...>
  • Date: Mon, 12 Apr 2010 22:13:32 +0100

RE:  RE: Declarative programming requires a different  mindset
> I still very strongly suspect that XSLT was a James Clark 
> joke.  After being told that DSSSL would never take off 
> because it had the wrong shape of brackets, is it not the 
> case that he came back with a spoof mini-subset of it which 
> had the right brackets, but which was received with such 
> rapturous acclaim that he never had the heart to confess it 
> was intended as a gag.
> 
> No?
> 

No, the use of angle bracket syntax was to filter out undesirable users
whose minds had been corrupted by use of curly braces. This had the entirely
intentional consequence that the language is happily used (a) by people who
would otherwise be writing HTML and can see that XSLT is similar but does a
lot of the work for you, and (b) by programmers who are sufficiently
open-minded to see the deep beauty of the language through its superficial
ugliness, while scaring off the Javascript kiddies who don't deserve such
good tools.

In fact, using XML as the syntactic basis has many benefits. The most
notable one for me is that it is very easy to extend the language: whereas
XQuery goes through anguish every time a new construct is added, because of
the ambiguities and inconsistencies introduced by new grammar, XSLT is
infinitely extensible through new elements and attributes with no problems
at all.

Regards,

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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.