34 ms·
There is no desctructuring in Java, as mentioned in JEP 441 (for some "future version" of the language). Or maybe I'm missing something in which case would you
by haspok 3y ago
There is no desctructuring in Java, as mentioned in JEP 441 (for some "future version" of the language).
Or maybe I'm missing something in which case would you point me to a JEP or an article about destructuring in Java?
EDIT: nevermind, I should have checked JEP 440, which is about destructuring record patterns...
Aside from that, immutable / readonly collections and null safety are two big reasons for Kotlin or Scala.