RUN:
com.wlodar.jeeps.jep440recordpatterns.JEP440RecordPatternsDemo
Before: check the record type, then unpack manually. Now: match and unpack in one step.
Already available in scala and kotlin -a.k.a destruction/decomposition
Last updated 2 days ago