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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: "Inheritance considered harmful"

[ Lists Home | Date Index | Thread Index ]
  • From: "W. Eliot Kimber" <eliot@isogen.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 02 Apr 1998 14:18:49 -0600

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.


<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

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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