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

Re: s-expressions and XML was Re: terra incognita


terra incog
On Tuesday 18 December 2001 09:48 am, Jonathan Borden wrote:
> Regarding objects vs. data (which is where we started), the prime
> distinction is between opacity and translucency. When objects are well
> described, and their state can be described by the getter setter properties
> in their interfaces, as data objects they can be translucent. Object
> _methods_ however are generally opaque -- the implementation hides behind
> an interface. 

I actually think this is a weakness in many languages. Java had reflection 
added to address some of the issues here.

> Contrast LISP and XSLT, whose method implementations can be
> fired across the wire (in a perfect world) for remote execution.

I would argue that this is precisely the most powerful kind of remote 
execution. 

> XML might be more generally represented using something akin to an
> s-expression notation by introducing delimeters for an unordered set '['
> and ']' and then we can represent:
>
> <foo aaa="111" bbb="222" ccc="333">
>     <bar ddd="444"/>
>     <baz/>
>     <bop eee="555">
>         <bing/>
>     </bop>
> </foo>

If you have a look at XEXPR, this blurs the distinction between attributes 
and elements for passing in parameters. It's somewhat LISPish (and did the 
scheme guys flame me! ;-))


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.