[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Sean McGrath hits a home run
> > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|