W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: parentNode

From: <keshlam@us.ibm.com>
Date: Tue, 28 Jul 1998 18:08:51 -0400
To: www-dom@w3.org
Message-ID: <8525664F.0079478A.00@us.ibm.com>
     There are other ways of creating nodes, however: most languages have a
     "new" operator.

It's legitimate to say "That will allocate the space but will not produce a
properly initialized/valid/usable object."

Remember, the DOM _is_ an OO design; objects may be produced only by valid
constructors and factories -- and a given object's public API may have
_only_ factories and not constructors.

But if that's the desired behavior, the spec should make it unmistakable.
Received on Tuesday, 28 July 1998 18:08:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC