4 ms·
As a strong Haskell programmer I'm curious about the statement that "eliminating mutable state is neither possible nor desirable". My first response is to say t
by michaelochurch 14y ago
As a strong Haskell programmer I'm curious about the statement that "eliminating mutable state is neither possible nor desirable". My first response is to say that I find it both possible and desirable.
It depends on your tools and your performance requirements. I guess I should say that "eliminating mutable state from your repertoire is neither possible or desirable". There are certainly many problems where you can.
I agree strongly with everything else you said.
- tel 14y agoOh! Agreed completely now—there are times and algorithms that are definitely best done mutably. (Another plug for the ST monad, I suppose, since it can make it clear when you're doing such a thing.)