Pattern Matching for Java
Why the fixation on pattern matching? Don&#x27;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 &quot;I don&#x27;t want to implement the visitor pattern&quot; problem.<p>FYI, I recently found out that C# can actually do multiple dispatch<p><a href="https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;shawnhar&#x2F;2011&#x2F;04&#x2F;05&#x2F;visitor-and-multiple-dispatch-via-c-dynamic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;shawnhar&#x2F;2011&#x2F;04&#x2F;05&#x2F;visitor...</a>