4 ms·
> completely differently Not completely. Mutating state and I/O are done in a more imperative style via monads. > the whole point Depends on who you are I gu
by hood_syntax 9y ago
> completely differently
Not completely. Mutating state and I/O are done in a more imperative style via monads.
> the whole point
Depends on who you are I guess. The big wins for me in Haskell are the type system and purity by default. Of course I absolutely love the composability that functional programming offers, but there are other functional programming languages. Haskell I like for those reasons in particular. Disclaimer: I'm still a newbie when it comes to fp and Haskell.
- beaconstudios 9y agoto be clear, by "the whole point" I didn't mean "the primary benefit". Just that as a very fundamental point, you have to write code very differently for that code to be functional.
- hood_syntax 9y agoI realized that after I read your reply to the other comment. I certainly understand that sentiment.