[
Lists Home |
Date Index |
Thread Index
]
- From: "Rob Schoening" <rschoening@unforgettable.com>
- To: "XML Developers' List" <xml-dev@ic.ac.uk>
- Date: Wed, 20 Jan 1999 15:06:17 -0800
>
>
> Do we munge all of this with inheritance, or keep a series of separate
> mix-and-match interfaces?
>
>
> Comments?
Mix and match interfaces tend to be instructional as "facets" that group
sets of functionality. If nothing else, they make the API easier to
understand. However I have found that the actual ability to mix and match
tends to be more of a liability than an asset in an API this small. If the
facets are not merged together into a hierarchy, I'm afraid the
proliferation of interfaces will frustrate the user.
If the mix and match approach is to be successful, I believe that it should
be hidden for ordinary use through some kind of aggregation. This would
necessitate either 1) multiple inheritance of interfaces or 2) language
specific abstract classes.
Rob
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)
|