News for hackers. Stuff that matters.
Re:Will Java 8 Kill Scala? by bad_user on Thursday March 27, 2014 @02:09PM (#7482111)
> If I wanted to embrace functional programming, I would skip Scala and goto Haskell, ML, or Clojure.

Interesting choice of languages. Out of that list, only Haskell is suitable for the argument you're trying to make.

Is that SML or Ocaml? If that's SML, well it's a really poor choice. And what makes you think Clojure is better for functional programming? I'm not arguing that it isn't, it's just interesting seeing it in a list of what are supposed to be better choices for FP. Because in my opinion, Clojure is just as dirty as Scala or maybe even more so. And it's also a Lisp and the styles and patterns used tend to be different in Lisps, than what you do in Haskell or Scala.

That book I linked is not about Scala, but about FP and just happens to use Scala as the language. It's a good book. If you preordered it, it would be a waste to not read it.

Re:Will Java 8 Kill Scala? by mushishi on Thursday March 27, 2014 @02:29PM (#7482315)
What I meant is that if I needed to switch from Java to a language that is oriented towards functional style, I would not consider Scala -- not because it wouldn't be a good choice regarding FP (I'll leave arguing about how well a language is suited to FP for others) but because considering all it has to off, and how its promise was not fulfilled for me -- or maybe it was me what changed.
Re:Will Java 8 Kill Scala? by bad_user on Thursday March 27, 2014 @03:14PM (#7482682)
Well yeah, maybe you'll like Clojure better. Different style as I've said.

I'm playing with Haskell as well. Cool language, the ecosystem does suck a little.