4 ms·
Haskell doesn't ban imperative programming, it simply distinguishes it in the types.
by Peaker 12y ago
Haskell doesn't ban imperative programming, it simply distinguishes it in the types.
- gnuvince 12y agoTrue, what I mean is that I can be "messy" in OCaml for the sake of expediency. In principle, I prefer Haskell's clean approach, in practice I'm a bad programmer who sometimes does naughty things.
- Peaker 12y agoWell, Haskell does force you to go and update your types about your effects, and fix the use sites to do proper lifting. I don't feel this costs much, though, so even in quick&dirty mode, I feel that Haskell is quite productive enough.