Re: When and where to use Visitor Pattern?
- From: Nicholls.Mark@xxxxxxxxx
- Date: 27 Apr 2005 09:09:16 -0700
multimethods/multiple dispatch are largely unsupported though.
if 'instanceof' is some form of reflection, then there are plenty of
people (well at least me) who prefer the type safety of visitors....in
fact in some sense I view visitors as typesafe reflection.
less clutter? I don't think that the visit method is particularly
prohibitive in terms of clutter, though I accept that visitors can
fracture your code into tiny itty bitty bits.
.
- Follow-Ups:
- Re: When and where to use Visitor Pattern?
- From: Lorenzo Bettini
- Re: When and where to use Visitor Pattern?
- From: Daniel Parker
- Re: When and where to use Visitor Pattern?
- References:
- When and where to use Visitor Pattern?
- From: Sam Hwang
- Re: When and where to use Visitor Pattern?
- From: Ilja Preuß
- Re: When and where to use Visitor Pattern?
- From: Rich MacDonald
- Re: When and where to use Visitor Pattern?
- From: Daniel Parker
- When and where to use Visitor Pattern?
- Prev by Date: Re: object vs type
- Next by Date: UML metamodel
- Previous by thread: Re: When and where to use Visitor Pattern?
- Next by thread: Re: When and where to use Visitor Pattern?
- Index(es):
Relevant Pages
|