5 ms·
Here's a better explanation of the visitor pattern than Wikipedia: https://sourcemaking.com/design_patterns/visitor https://sourcemaking.com/design_patterns/vis
by mattxxx 6y ago
Here's a better explanation of the visitor pattern than Wikipedia: https://sourcemaking.com/design_patterns/visitor https://sourcemaking.com/design_patterns/visitor
^ Helped me understand why-on-earth anyone would introduce this pattern
- DarkWiiPlayer 6y agoReading that just reminded me of why I hate OOP so much. It's confusing.
- platz 6y agoThe purpose of the OP post is not to provide an introduction to the visitor pattern. It's to explain the relationship of the visitor pattern with something else. Did you miss this part of the post? > I’m not going to provide a standalone explanation of the visitor pattern since the linked Wikipedia page already does that.