4 ms·
Visitor is a very useful pattern in truth. Handy with client/server, deserialisation and in C++, boost variant as that serialises too.
by OnlyMortal 4y ago
Visitor is a very useful pattern in truth. Handy with client/server, deserialisation and in C++, boost variant as that serialises too.
- copperx 4y agoSure, and yet it is interesting how the satire would be funnier with the visitor pattern than with an obscure pattern nobody uses.
- lokedhs 4y agoVisitor only exists to deal with limitations in the language. Every use of Visitor I've seen had been an absolute nightmare to maintain. I'd rather just use reflection than implement something using Visitor. And I think that's what made the comment so funny.