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

Re: terra incognita

terra metrics
> At the time I argued, and I think I still believe, that XML is
> about as close as you can get to the *opposite* of O-O thinking.
> The O-O paradigm is that objects are nicely packaged opaque
> bundles of code & data that do things through carefully designed
> & presented interface, and you're not supposed to bother your
> pretty little head about what's happening inside.

Yep, though whether the interface is strongly typed or not is  another 

> A chunk of XML on the other hand perforce exposes all its
> internal structure and does precisely nothing.  These two
> paradigms come from different planets.

Another way to look at XML is as a set of (nested) interfaces with getters 
for retrieving elements by gi(type) and/or position. I first heard this from 
an OODB fellow... and for certain things, it does make sense.

> At the end of the day code and data just aren't that much
> like each other.  Maybe this is why Lisp never took over the
> world, cool though it is.  -Tim

Maybe I'm an unrepentant LISP hacker, but I think code and data are very much 
the same. Sometimes I treat my code as data (when I'm calculating complexity 
metrics or simply searching it), and sometimes, the data as code (for 
example, XTND/XEXPR are data, but could be interpreteted as code)


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.
First Name
Last Name
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.