3 ms·
For the general case I'd argue that Scala's syntax is far easier to sort out for anyone coming from C-based langs. However, yes, for complex type hierarchies,
by virtualwhys 13y ago
For the general case I'd argue that Scala's syntax is far easier to sort out for anyone coming from C-based langs.
However, yes, for complex type hierarchies, heavily curried functions, and other higher level approaches, Haskell obviously wins, equivalent Scala code is a mess in comparison.
Odersky recently tweeted an EPFL paper addressing simplification of the type system (that got Scala FP devotees up in arms); i.e. in the not too distant future we may have fewer ways to do the same-ish thing (a good thing, IMO, if the language can be trimmed down, at a minimum that bodes well for current portability issues).
- Dewie 13y ago> For the general case I'd argue that Scala's syntax is far easier to sort out for anyone coming from C-based langs. Before I learned about either, I had most experience with Java. Though I'm biased since I learned Haskell first (and I wouldn't say that I 'know' Scala).