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.comReceived on Monday, 26 March 2001 10:56:04 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT