- From: <keshlam@us.ibm.com>
- Date: Thu, 15 Oct 1998 08:50:07 -0400
- To: www-dom@w3.org
> if(xmlElement instanceof HTMLElement) > // possibly false (ie. implementation dependent) OK, we're back in synch. > if you can't guarantee that an interface *is* supported you'd be well > advised to assume that it *isn't* Minor rephrasing: You'd be well advised to assume that you can't assume either way. A programmer may _expect_ that it isn't, but since the next release of the package (never mind switching to another package) may be implemented completely differently, code that relies on this may break unexpectedly. Thanks for bringing this up; being forced to think it through again was helpful for me! ______________________________________ Joe Kesselman / IBM Research Unless stated otherwise, all opinions are solely those of the author.
Received on Thursday, 15 October 1998 15:28:57 UTC