Raymond Tong wrote:Hi,
Scala is a hybrid language that could code in FP and OO style.
Any advice to help people from OO background to think and write in FP style in Scala?
Would you think it would be better to learn FP in pure FP language like Clojure, Haskell?
From my personal experience, I found that a gradual migration from an imperative style to a functional style helps a lot. Scala is very much adept at it since it is both a FP as well as OOP as opposed to purely FP languages like Haskell and co.