4 ms·
I find Haskell's to be relatively simple, while Scala's seem to be all over the place. Probably not weird since Scala tries to straddle 2-3 different worlds/par
by Dewie 13y ago
I find Haskell's to be relatively simple, while Scala's seem to be all over the place. Probably not weird since Scala tries to straddle 2-3 different worlds/paradigms.
- virtualwhys 13y agoFor 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).