W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: Type-safe iteration over the DOM in DOM 2 & 3?

From: James Melton <james.melton@cylogix.com>
Date: Mon, 26 Mar 2001 10:58:40 -0500
Message-ID: <3ABF6730.1D3FDDDF@cylogix.com>
To: www-dom@w3.org
After a lot of discussion I think we have concluded that there is no
simple way to use Visitor in this context.

Jim.

Joseph Kesselman wrote:
> 
> >Couldn't it be done with something like:
> ...
> >it simply see what kind of parameter it got and act accordinaly
> 
> Sure. But the original request was that we find a way to eliminate that
> runtime typecheck. If you're going to do the switch, you might as well do
> it in the scanning loop rather than in the object, for reasons previously
> discussed.
> 
> I've lost track -- Have we returned to a consensus that the Visitor design
> pattern is not an unquestionable win after all? Or are there still points
> we need to analyse?
> 
> ______________________________________
> Joe Kesselman  / IBM Research

-- 

____________________________________________________________
James Melton                 CyLogix
609.750.5190                 609.750.5100
james.melton@cylogix.com     www.cylogix.com
Received on Monday, 26 March 2001 10:56:04 GMT

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