Hacker News new | ask | show | jobs
by nvarsj 3394 days ago
Scala is a language of compromises. That's part of its success! I think it appeals to people who want to try out many different types of language styles, but the programming language purist in me hates it because it's not opinionated and is such a mish mash.
2 comments

> Scala is a language of compromises

Scala tries to be everything at once, it's hardly a language of compromises. It was successful because when it was created Java sucked and now of course people are stuck with Scala deployments as nobody can decipher all that code. Java still sucks but less that it used to be. It needs type inference for like yesterday. The biggest drawback of the language is the slow toolchain.

I am opinionated and my opinion is that the more features in the language the better - as long as they're sanely organized, and not a mishmash of things hidden behind arcane syntax inventions. So right now I'm not too fond of Scala because of how messy it seems.
The only language I know of that has a scope comparable to Scala is Oz...a language designed to teach beginner programmers the superset of programming paradigms.

And compared to Oz, I'm quite happy with how neatly unified it has turned out to be. It's not perfect, but as someone who regularly uses both OOP and FP, I'm pretty happy with it. I'm really looking forward to Dotty, because a lot of the cruftier things about Scala can start to go away.