4 ms·
Learning Haskell taught me that mutation and state are good things, present both in the fundamental nature of computers and the real world. Haskell's attempts t
by xaa 14y ago
Learning Haskell taught me that mutation and state are good things, present both in the fundamental nature of computers and the real world. Haskell's attempts to eliminate state entirely results in a profound increase in complexity.
For me, learning Haskell was like visiting a third-world country: enlightening, very different, but ultimately I leave feeling very grateful that I'm not a permanent resident. All in all, I would recommend the experience.
- papsosouid 14y agoIt doesn't sound like you actually did learn haskell. Haskell does not in any way make any attempt to eliminate state, and the idea that it does is absurd. Why would the language ship with a module called "State" if it were trying to eliminate state?
- rafcavallaro 14y agoSubstitute "treat like a pariah" for "eliminate" and you're good to go!
- ibotty 14y agono state in haskell? not in my haskell. state is usually made explicit, yes. there is a state monad because of a reason...
- nightski 14y agoSo obviously you were not very enlightened because it makes no such attempts.