Pattern Matching for Java
Why the fixation on pattern matching? Don't get me wrong, I enjoy the benefit it provides, but for OO code multiple dispatch is a more elegant and idiomatic way to solve the "I don't want to implement the visitor pattern" problem.<p>FYI, I recently found out that C# can actually do multiple dispatch<p><a href="https://blogs.msdn.microsoft.com/shawnhar/2011/04/05/visitor-and-multiple-dispatch-via-c-dynamic/" rel="nofollow">https://blogs.msdn.microsoft.com/shawnhar/2011/04/05/visitor...</a>