Re:A farewell note to a programming language
by asdf1234 on Thursday December 04, 2014 @02:08PM
(#8701005)
Pervasive use of ST, or almost any monad for that matter, leads to serious problems in Scala since you basically have to use trampolines and take a massive performance hit. It's also extremely verbose to do it correctly.
Re:A farewell note to a programming language
by asdf1234 on Thursday December 04, 2014 @02:38PM
(#8701180)
It's debatable whether abusing Free is a better solution. Either way, programming like this is disgusting in Scala and comes with tons of caveats compared to Haskell.
It's a good solution in Haskell though.