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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT