3 ms·
Doh, can’t we have pattern matching - with destructuring of course - and be done with it? (And tuples, ADTs ah the list goes on..)
by eecc 9y ago
Doh, can’t we have pattern matching - with destructuring of course - and be done with it?
(And tuples, ADTs ah the list goes on..)
- dtech 9y agoThere's a separate JEP [1] for pattern matching, and the switch expressions are both preparation, companion and requirement for it. [1]: http://openjdk.java.net/jeps/305 http://openjdk.java.net/jeps/305
- eecc 9y agoNice, I don't see how I could – at the very least - upvote for this proposal. How does that work?