3 ms·
This is an article about design patterns (in particular the 1994-200x craze for them after the Gang of Four book was published). Having emerged from that era mi
by syncsynchalt 2y ago
This is an article about design patterns (in particular the 1994-200x craze for them after the Gang of Four book was published). Having emerged from that era might be table stakes for understanding this article.
Visitor pattern is a code inversion where inheritance and/or function overloading fills in for a missing language feature (concise runtime pattern matching on types). It has its pros and cons but seemed like opening your third eye circa 1995.