This part of the book is all about the differences between Scala and Java. There are plenty of language features in Scala that don’t have an obvious analog in Java. In this part, we’ll take a closer look at some of those and explore what Scala can give us over Java.
Specifically, we’ll explore a number of the language features that make writing Scala more expressive and we’ll look at some of the more functional programming idioms that Scala is so well know for.
Scala offers several features that make writing code more concise. As well as some we’ve already seen, it provides mechanisms to: