|
|
|
|
|
by mrkgnao
3247 days ago
|
|
Yes, you should care about the laws! They allow you to edit code without the aforementioned released-last-week test runner having to check all your code after a big refactor. I mean, you can't call something with a "flatMap" method and a "return" method a monad! There are tons of nonsensical definitions that fit that which are going to become very unpleasant to use quickly. |
|
Oh wow. How did I ever live with big refactorings before?
> There are tons of nonsensical definitions that fit that which are going to become very unpleasant to use quickly.
I recently learned that, apparently, I've been using "monads" and "monadic composition" for years now, never knowing what it is. Can't remember any unpleasantness that would "quickly arise".
There are other things than blind following after a Platonic ideal.