- From: Ted Bashor <bashor@crossroute.com>
- Date: Tue, 21 Jul 1998 14:31:21 -0700
- To: "Stephen R. Savitzky" <steve@crc.ricoh.com>
- CC: www-dom@w3.org
Stephen R. Savitzky wrote: > > I agree that it's ugly, and I wouldn't have suggested it except that the set > of core node type interfaces is small and fixed (or, rather, it would be > fixed if there were a Declaration subclass), and that the Document interface > already has a corresponding set of "create" operations. The latter is the > most telling -- the DOM has already started down that path; one might as > well do it right. I wouldn't say that having to update a factory class (Document) to accommodate a new subclass violates OO principles to the same degree as having to update a base class to accommodate a new subclass.
Received on Tuesday, 21 July 1998 17:28:01 UTC