4 ms·
I am a long time Java developer and, believe it or not, regularly write important new product features in concise, performant Java 8. I have looked at Scala ti
by mring33621 10y ago
I am a long time Java developer and, believe it or not, regularly write important new product features in concise, performant Java 8.
I have looked at Scala time and time again and am not sure what to think. It is currently a popular choice for big data munging -- I'm into Apache Flink and most Flink jobs are way easier to read when written in Scala VS. Java.
But I also feel like Scala requires more decisions per line of code than Java, which makes it a more demanding day-to-day language. Also, it seems to have lots of dark corners. But these are really my impressions based on limited experience, so I am likely wrong.
Also, my limited experience indicates that IDE support for Scala is quite behind that of Java.
But I am still open to it.
To get to my point, actually my question: Where should I look to learn quality, ideomatic Scala?
My preference would be to focus on small example programs that do one thing well while demonstrating the correct, native use of Scala.
Thank you.
- adamkl 10y agoI'm just starting to pick up Scala (and functional programming for that matter) and I've been working my way through Functional Programming in Scala[1]. So far, it does a good job of teaching functional programming by taking stateful scala code, and refactoring it using pure functional approaches. The result might be considered quality, ideomatic scala. [1]https://www.manning.com/books/functional-programming-in-scala https://www.manning.com/books/functional-programming-in-scal...