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

Re: Create a special purpose programming language, in XML, usi

  • From: Michael Kay <mike@saxonica.com>
  • To: David Lee <dlee@calldei.com>
  • Date: Fri, 18 Oct 2013 18:05:17 +0100

Re:  Create a special purpose programming language
> 
> By the time I could figure out WTF was going on, and where some text was output or not and why I had the whole fricken
> monster delicately balanced in my brain ready to explode with the loony bin on speed dial.

I do know the problem. The stylesheets that we use for processing the W3C specs are an awful mess too. They've evolved over 15 years, lots of people have added bits, there have never been any tests apart from the documents we are actually publishing, and XSLT does encourage this style of development where if you don't like what the stylesheet does, you just add an override rule somewhere. It makes it easy for people to make changes even when they don't understand the full picture, which is nice except that no-one ever knows the full picture, and in the end, when things don't work, it can be very hard to find out what's going on. The lesson is that languages that make it easy to change and modify code (loosely, scripting languages) can also encourage a lack of software engineering discipline. I think a lot of it is to do with the fact that no-one is developing this code as their day job; it's just a tool to help you get things done.

That's probably also why I have never invested the effort to fully explore what IDEs like oXygen are capable of in terms of debugging support. I know there are a lot of features there, such as the ability to analyze which bits of the stylesheet generated which parts of the output, but I so rarely do any tough XSLT debugging that learning new techniques is a lower priority than solving the problem.

Michael Kay
Saxonica


[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.