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

RE: Greenspun's tenth law rears its head: was InnerXml is like


innerxml in xslt tree



> From: Arjun Ray [mailto:aray@n...] 
>
> Yes, as a tree-building "little language".  Miles has already 
> said that there's a bit of devil's advocacy in all this, but 
> that shouldn't prevent us from exploring the idea.

Sure.
 
> | Fwiw, I don't see *either* of these as that desirable to program in 
> | (but probably better than what I'm already using).
> 
> Which is...? ;-)

DOM/JDOM/SAX/XmlReader... essentially, not XSLT.


> Not in XOM.  Method chaining is Bad Java, so they say.  
> Mutators have void return signatures. 

If that's an argument from thread safety (is it?), then I guess if you
got multiple threads running through a treebuilding exercise, you've got
other problems. Maybe constructors returning 'this' is a bad idea. But
for anyone that's interested: the book "a little java, a few patterns"
is an interesting counterpoint to this mutators return void argument. A
nice read.


> Some people like long names.  In these days where IDE editors 
> support name completion, it isn't a big deal.  (I prefer 
> short names myself, btw.)

Well me too, until I can get an ide to read for me! Not that I'm asking
for APL or anything...; "append" would be fine. It's when you use an API
day in day out, using two words in computerEnglisch when one was enough
gets tedious. 

  
> | At this point, we might as well give in and use Lisp, being 
> a natural 
> | fit for manipulating syntax trees.
> 
> Well, the discussion seemed to heading that way.  Modulo the 
> surface syntax, isn't XPath very lispish in feel?

If you're thinking about Lisp macros, yes. I think XSLT is Lispish, but
then look at it?s Daddy, DSSSL.


Bill de hÓra 
--
Propylon
www.propylon.com 

 


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.