That's why I rather write my code in Haskell instead of having half assed effect tracking in Scala
-
-
There is a good reason to not write IO in Scala. This reason is not one of them. It's not good reasoning.
1 reply 0 retweets 1 like -
What would be the good reason to not write IO in Scala then, except the obvious performance hit ?
2 replies 0 retweets 0 likes -
The same reasoning writing anything in Scala is a bad idea. IO takes more than a performance hit. It's untenable.
1 reply 0 retweets 0 likes -
I acknowledged the reasoning part. But it seems you agree with me on the big picture unless I misunderstand you
1 reply 0 retweets 0 likes -
"Don't write IO in Scala. Don't write anything in Scala." IO in Scala is just as safe as it is in Haskell. Reasoning otherwise is busted.
1 reply 0 retweets 0 likes -
In theory you're right. But making your way out of IO in Haskell is very painful and unpredictable. Good luck writing a complex program
1 reply 0 retweets 0 likes -
While doing the same thing in Scala is... well writing Scala as it was designed, without an effect tracking system
2 replies 0 retweets 0 likes -
It's just as easy in both Scala and Haskell to find your way out. IO is just as safe in Scala as it is in Haskell.
1 reply 0 retweets 0 likes -
If you believe it then good for you but I choose Haskell over Scala on this specific matter any day of the week.
1 reply 0 retweets 0 likes
I'm not just blelieving it for the sake of it, but because it's true. That's a pretty important reason to believe it afaic.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.