journal/2021-03-14--13-00-04Z--service_pattern.org

This commit is contained in:
Yann Esposito (Yogsototh) 2021-03-14 13:32:01 +01:00
parent 42ac8ac863
commit bbfca0df78
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -85,3 +85,14 @@ more conventions implying more lines of code become preferable because it
minimise the risk of surprise between different part of the code.
Clearly, Elm Architure is selling compactness of your code for an easier to
read, discover and understand overall code architecture.
So we could probably say the same for multiple proposed code architecture
mechanism in the Haskell world.
Typically we had:
- no org => spaghetti code
- big Monad => lack of composability, leak of abstraction everywhere
- Handler Pattern
- MTL
- RIO
- Free Monads (Effects)