News for hackers. Stuff that matters.
Re:Pattern Matching for Java by alkonaut on Sunday April 23, 2017 @03:45AM (#14177035)
Ah - yes method impl on the cases is certainly a difference. I'd probably choose compatibility with F# sum types if this lands on the CLR though, but I can see how equality and some other things might be useful. Otherwise you are forced to pattern match for all logic which might end up like an inside out object.

There are no comments on this comment yet.