3 ms·
For the rest of us it's a huge exercise in mental gymnastics. I've thought about this a lot and honestly, I think this is a good thing. Languages which are muc
by chongli 13y ago
For the rest of us it's a huge exercise in mental gymnastics.
I've thought about this a lot and honestly, I think this is a good thing. Languages which are much less strict about types and mutation require huge mental gymnastics too, they just don't tell you about it. They let you happily continue on your merry way until some time at a later date you realize your program is a giant ball of mud and you have no idea how to change things without breaking it. Haskell forces you to deal with the hard problem of state up front in exchange for having a clear, maintainable program down the road.