visitor pattern

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oll3i
    Contributor
    • Mar 2007
    • 679

    #1

    visitor pattern

    Where in the flowershop could i use visitor pattern?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by oll3i
    Where in the flowershop could i use visitor pattern?
    Who knows? Only you know the architecture of your flowershop. In general
    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

    • oll3i
      Contributor
      • Mar 2007
      • 679

      #3
      okey i will :) thank you

      Comment

      Working...