journal/2021-03-14--13-00-04Z--service_pattern.org
This commit is contained in:
parent
42ac8ac863
commit
bbfca0df78
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue