3 ms·
I think you're falling into the same trap you identify. You've squeezed your actual justification into those two lines at the end of your post, and they're far
by lmm 14y ago
I think you're falling into the same trap you identify. You've squeezed your actual justification into those two lines at the end of your post, and they're far too abstract to persuade me to actually learn Haskell. How about talking through a debugging session that was made much simpler because of this isolation of effects, or something similarly direct?
- DanWaterworth 14y agoThat's a fair criticism. I think the reason that happened was because its just so much more natural to talk abstractly about Haskell :) Here's a recent experience I can share: I've been working on a Haskell project for three days now, I've been type-checking as go, but I haven't been running the program I'm writing. This is mainly because I started "in the middle" and so I couldn't just run it, I'd have had to have written supporting code. I've finally got to the stage where I _can_ run it. I've just tried it now and thanks to the style in which I write Haskell, where I clamp down quite severely on unnecessary effects/complexity before they become issues, it works perfectly. Creating specialized monads is just one aspect of the style of writing. This wasn't a trivial project either, I've essentially written a cross between a database and distributed source control.