Where in the flowershop could i use visitor pattern?
visitor pattern
Collapse
X
-
Who knows? Only you know the architecture of your flowershop. In generalOriginally posted by oll3iWhere in the flowershop could i use visitor pattern?
a Visitor has its applicability when you have a fixed set of classes and you want
some additional functionality for most/some of them without altering the classes.
Also read my next Tip Of The Week where the Visitor pattern will be discussed
a bit.
kind regards,
Jos
Comment