OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Sean McGrath hits a home run

[ Lists Home | Date Index | Thread Index ]

> http://www.itworld.com/nl/xml_prac/04182002/
> Outstanding. -Tim
A quote:

"Secondly, I have learned that APIs can play into the hands of those who
don't really want you to understand what is going on underneath, as that
would threaten their control over your conceptual model of how the
system works."

This is of course what encapsulation is all about. Encapsulation
prevents hacking; it raises the level of abstraction; it prevents
programmers getting locked into today's implementation of an abstract
service. (Just as "the purpose of an operating system is to stop
programmers from using the hardware"). The result is that it may take
longer to write software but the software lasts for longer. Sean only
seems to be interested in one side of this trade-off. Sometimes that's
appropriate, sometimes it isn't.

If Sean is saying "encapsulation is always bad", then I don't think
that's outstanding at all.

Michael Kay


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS