Re:Scala 2.12.0 is now available
by ThePawnBreak on Thursday November 03, 2016 @10:00AM
(#12863971)
Does anyone have any tips for learning Scala? I want to learn the language, it looks very interesting, and I have some familiarity with Scheme, Haskell and Ocaml, but I just don't know how to start. What should I read? What should I build?
[ Parent
| on HN ]
Scala School: https://twitter.github.io/scala_school/
Effective Scala: http://twitter.github.com/effectivescala/
Advanced Functional Programming with Scala - Notes: https://gist.github.com/jdegoes/97459c0045f373f4eaf126998d8f...
I have suggested Odersky's introductory MOOC [1] to many of my students and they all thought it was great. It's heavily inspired by SICP, so it should be easy, given your background.
Yes, I second the recommendation for the course. And I can happily recommend it for people who don't even plan to use Scala, but who just want to get a feel for functional vs OO approaches. Odersky sees them as complimentary, and in some sense Scala is his way of proving the point.
The https://www.scala-exercises.org/ is a good source (though it is just exercises so might not be the best first material)
Great thing about it is that you can do it in a browser without setting up anything (requires a github account)
If you just want to learn the language, read scala for the impatient, first half is free on Lightbend's website. If you want to learn fp, read functional programming in scala (Manning).
Re:Scala 2.12.0 is now available
by strange_aeons on Thursday November 03, 2016 @10:30AM
(#12864183)
https://gist.github.com/djspiewak/cb72c41ac335a3a9b28b3307be...
is a nice intro to the tooling/build setup.
Re:Scala 2.12.0 is now available
by SatvikBeri on Thursday November 03, 2016 @01:54PM
(#12866280)
If you already have some familiarity with functional programming but aren't extremely fluent in it, I recommend _Functional Programming in Scala_. It's one of the best functional programming books I've read.
one more resource that I found useful
This the answer you're looking for, trust me ;)
Once you get a grasp of the language and its extremely powerful features, pick up one of the standard books as a reference.
take a look at: http://blog.codacy.com/2015/07/03/how-to-learn-scala/
I'm reminded of "The State of Scala website and documentation" [0].
[0] https://groups.google.com/forum/#!topic/scala-internals/r2Gn...
Re:Scala 2.12.0 is now available
by whateveracct on Thursday November 03, 2016 @03:23PM
(#12867113)
If you're familiar with Haskell, you can probably dive into the "Typelevel Scala" approach. Once you learn how to do ADTs and typeclasses in Scala, you'll be able to make use of scalaz or cats effectively and feel relatively at home.
In addition to everything that's been recommended in this thread, Functional Programming in Scala is very nice. I read it after taking the Coursera course and working a bit on a Play project. Familiarity with Haskell and Ocaml will certainly help.
I've always been a Bruce Eckel fan. This book he wrote Atomic Scala [1] is easy to read and digest.