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

Re: XML as "passive data" (Re: The Browser Wars are


Re:  XML as "passive data" (Re:  The Browser Wars are

On Tuesday, October 22, 2002, at 07:21  PM, Jonathan Robie wrote:

> At 06:07 PM 10/22/2002 +0100, Alaric B. Snell wrote:
>> I think that's the whole problem with XML, though :-)
>>
>> Nobody's yet given a good reason why data encapsulation is bad.
>
> I didn't say that data encapsulation is bad - it's fundamentally 
> useful in object oriented programming languages. Java and C++ would be 
> much less useful without data encapsulation.

You know, I'd really like it if people would stop referring to those 
two evil twins as "Object Oriented" because, while they manage to fake 
a few features of OO, they aren't.

Based on a couple of other comments like objects "hiding away data" I 
can see the reaction against compiler enforced encapsulation.  Its bad. 
  Pure and simple.  Public Protected Private is a menace to modern 
software development because

1) The average programmer doesn't make good choices about when to use 
these
2) They make automatic serialization that makes sense difficult to 
automate
3) Invariably some unanticipated case arises where something that needs 
overriding or accessing is not public and therefor, a large body of 
potentially useful code is rendered worthless (the HTMLEditor Toolkit 
in Java's Swing package is an excellent example of this).

Also, I'm enjoying this thread a lot because I'm gaining some insight 
into why XML.  Please do continue.


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.