[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "Inheritance considered harmful"
At 03:08 PM 4/2/98 -0500, Paul Prescod wrote: >On Thu, 2 Apr 1998, W. Eliot Kimber wrote: >> >> That's probably because the architecture facility of ISO/IEC 10744 doesn't >> *do* inheritance in the way that most people seem to expect. > >That's right. That's why people get so confused about them. The word >inheritance is inherently misleading when applied to architectural forms. > >Architectural forms do subtyping, not inheritance. Inheritance is about >"getting stuff for free" (e.g. code, declarations, fields). Subtyping is >about *fulfilling a particular role* (perhaps through a manual >construction of an appropriate "interface" (in this case a content >model)). Architectural forms allow you to specify an interface that must >be fulfilled and declare conformance to that interface. It does not allow >you to "get code for free" (i.e. markup declarations). Paul has made clear what I was feebly trying to say: thanks Paul. Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer Highland Consulting, a division of ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 95202. 214.953.0004 www.isogen.com </Address> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|