Mark Lewis
1 min readJun 9, 2020

--

It is good to see that Java is finally getting a bunch of features that Scala has had for over 15 years. It's a bit sad that articles like this tend to only reference the similarity to Kotlin which got the features mentioned in this article from Scala. As constructive criticism, I would suggest minor edits to point out that the JVM got access to pattern matching, records (in the form of case classes), switch expressions (in the form of match, which also does pattern matching), and multiline text in Scala many years ago.

--

--

Mark Lewis
Mark Lewis

Written by Mark Lewis

Computer Science Professor, Planetary Rings Simulator, Scala Zealot

No responses yet