Monoid Mary is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

I'd been wanting to turn some of my conversations with @chris_martin into blog posts, because over the course of conversation we've covered some topics pretty thoroughly, this is how we're writing The Joy of Haskell, and also it allows for presentation of two perspectives on a subject naturally. First one is about do-notation:
joyofhaskell.com/posts/2017-05

@argumatronic @chris_martin I feel that `do` is useful at first because it (usually) provides a neat structure to code and enables you to not worry about what actually happens; a PITA a few weeks/months later because it obscures stuff; and a mixed blessing in the end that should still be used in some situations, but not all.

Monoid Mary @argumatronic

@redacted That's reasonably accurate. I didn't understand Hakyll's code well enough to get my blog up without do notation in the beginning. But I'm a fair bit further in than a few weeks/months now and I like it less and less all the time, except for a few specific use cases. And I think beginners need to go through actually following the types instead of obscuring them. That's part of why people stay afraid of monads. Chris still likes it, tho.
@chris_martin

· Web · 0 · 1