4 ms·
I think what the parent comment referred to is that in Haskell if/then/else is an expression (like everything else) so you must by definition have to have an el
by pwm 8y ago
I think what the parent comment referred to is that in Haskell if/then/else is an expression (like everything else) so you must by definition have to have an else “branch”. Basically it frees you from a subtle type of error.
- karmasimida 8y agoThose are micro level features. For mission critical module like this, it is unlike those low-level bugs will be left without notice. But the true complexity is coming from states, and combination of states, and many of those are unknown to the developer until certain incidents kicked in. Good programming practice can't relieve programmers from the cognitive burden of reasoning the outcome of those combinations.