▲ | hurril 4 days ago | ||||||||||||||||||||||||||||||||||
You both have good points. But there is monads the mathematical and programmatic concept, and there is also something a little bit handwavy in how these things are incorporated into an application architecture. The latter is what is being used on the one hand in comparison to MVC, etc, on the other. I.e.: a monadic architecture in Haskell is good, but one in Java is going to suck. A sort of half-way point is in The Elm Architecture, which is a sort of deconstructed IO monad. (Writing this as someone with decades of experience in writing monadic architectures.) | |||||||||||||||||||||||||||||||||||
▲ | yakshaving_jgt 4 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
What does a “monadic architecture” look like? I’ve been writing web applications in Haskell for the past decade and all of them are MVC. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | frumplestlatz 4 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
I don’t really understand what a “monadic architecture” is supposed to mean. Haskell’s `Monad` type class is hardly the only possible encoding of a monad. They’re just a simple mathematical construction with useful properties, and — like functors and applicative functors — they emerge everywhere. | |||||||||||||||||||||||||||||||||||
|