I don't hate Scala but I did not pursue it after only a few 'lessons' : transitioning from Java to Scala was smooth and not intellectually stimulating. On the other hand , Clojure programming forces me to think differently and the solutions are more elegant. I understand Scala is also functional but it is too permissive and I slide back in imperative all too easily. Clojure is highly disciplinarian and opinionated an…
Ask HN: Why do people have a hatred for Scala?
21–30 of 134 posts
Re: Ask HN: Why do people have a hatred for Scala?
#22People who actually use Scala love it. For instance, Scala is one of the most loved languages in the recent StackOverflow developer survey. The survey had more than 26'000 respondents, so this is pretty significant. http://stackoverflow.com/research/developer-survey-2015#tech... But you are completely right that there's also a lot of negative sentiment around it. Here are two possible reasons I can think of (I am sur…
Re: Ask HN: Why do people have a hatred for Scala?
#23Re: Ask HN: Why do people have a hatred for Scala?
#24That said, nothing does exactly what Scala does. Fluently mixing imperative, lazy, OO and functional styles isn't really common. Neither is the wealth of concurrency constructs available to Scala programmers through the standard library and Akka.
I'm writing a compiler in (not for) Scala right now and it's pretty sweet.
Re: Ask HN: Why do people have a hatred for Scala?
#25Here's one: http://blog.gmane.org/gmane.comp.lang.scala.debate/month=201... Apart from occasional issues in the community Scala is criticised for being too complex: https://www.youtube.com/watch?v=uiJycy6dFSQ
You realize that the sender of this post (a) has been banned from all Scala mailing lists (b) has become one of the strongest Scala haters since?
Re: Ask HN: Why do people have a hatred for Scala?
#26If you find yourself in the future "hating" all the programming languages, this isn't necessarily problematic, it might just mean you have a good understanding of programming languages. Just try to remain polite and remember that there's more than one way to see most scenarios.
Re: Ask HN: Why do people have a hatred for Scala?
#27Re: Ask HN: Why do people have a hatred for Scala?
#28In my opinion (and I have worked on large scale development in Scala in the past) it is just unnecessarily complicated. Random annoyances off the top of my head - you can't necessarily understand an isolated function unless you know what implicits are being used, crazy overuse of operator overloading and slow compilation times (this has improved over the years). You don't have to learn Scala, you could learn Clojure,…
That actually sounds like you encountered code that shouldn't have been or you had people using Scalaz (which has weird operators taken from Haskell, looking at you .)
Anyway, scala needs less weird operators, not more. Looking at you, parser combinator library.
Re: Ask HN: Why do people have a hatred for Scala?
#29I wouldn't say hate. Scala is a OO-functional language, so it's bound to have people who dislike it from both of those camps. I started learning Scala (it got me into functional programming) but dumped it for the same reasons as Java. It's bloated. I also question Scala's longevity. I'm happily using Elixir and Clojure these days, but I mainly do web stuff so YMMV.
You question the longevity of Java and Scala, and this is why you use mini niche languages? Seriously.
Re: Ask HN: Why do people have a hatred for Scala?
#30I have only dabbled in Scala myself, kicked the tyres as it were. My question was, is this an Ocaml or Haskell with good interop with the Java ecosystem? The answer is no but I don't hate Scala for it, I just moved on. But many folks would have persisted and tried to make it into something it's not and gotten miserable in the process.