December 2018
Intermediate to advanced
414 pages
10h 19m
English
When building complex algorithms, it is practical to separate the algorithm from the objects it operates on. The visitor pattern helps achieve such separation. One of the direct effects of using the visitor pattern is the ability to implement multiple distinct operations, without changing the underlying object structure.
The visitor pattern can be described through the series of protocols that each object has to implement:
Read now
Unlock full access