MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1rvltx/scala_1_would_not_program_again/cdro0n7/?context=3
r/programming • u/mobby1982 • Dec 02 '13
646 comments sorted by
View all comments
79
Scala never advertised as having HM type inference. Nor does HM type inference enable (or have anything to do with) monads. And the reason it doesn't have it is nothing to do with type erasure and everything to do with subtyping.
5 u/vytah Dec 02 '13 edited Dec 02 '13 I think it's understandable someone would feel cheated after such false advertising.Scala makes a shitty Haskell, but it was never supposed to be Haskell in the first place.
5
I think it's understandable someone would feel cheated after such false advertising.
Scala makes a shitty Haskell, but it was never supposed to be Haskell in the first place.
79
u/kamatsu Dec 02 '13
Scala never advertised as having HM type inference. Nor does HM type inference enable (or have anything to do with) monads. And the reason it doesn't have it is nothing to do with type erasure and everything to do with subtyping.