Back to list
Views:   6.6K
Replies:  2
Archived
Possible error in Visitor pattern?
Could it be that there is an error in the Real World example of your Visitor Pattern?
The VacationVisitor does not actually increase the vacation days as the comment states.

Thanks.


Michael Verville, Mar 24, 2013
Reply 1
Ah yes, there was a line of code missing. 
It has been corrected. 
Jack Poorte, Feb 26, 2016
Reply 2
Yes. It is still there.
Ken Alexander, Feb 21, 2016
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas