Home  /  Questions  /  Question

50   50
Mar 24, 2013

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.


0   0
Feb 21, 2016
Yes. It is still there.

508   99.9
Feb 26, 2016
Ah yes, there was a line of code missing. 
It has been corrected.