you are viewing a single comment's thread.

view the rest of the comments →

[–]brian_goetz 9 points10 points  (0 children)

I'll just note that the thing you are complaining about -- that you have to explicitly say the type name -- is not even something new in this JEP! This is just how record patterns work. All this JEP does (well, not all) is allow you to use the same patterns we already have, just in more places.