Functional-core-imperative-shell
Functional-core-imperative-shell copied to clipboard
Functional core imperative shell
added an article from doordash
Instead of writing to the database or file, create an event or closure to deal with it later. https://martinfowler.com/eaaDev/EventSourcing.html
http://olleharstedt.github.io/programming/2022/01/27/on-composability-in-software-design.html
Hi ho! I started to think about this pattern again, but this time in more OOP terms, with regard to state, dependencies and pure vs effectful classes. I think it...
Article: https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ Argues that functions should not be different between sync and async. But in terms of pure/effectful, maybe it's a _good_ thing that functions cannot be mixed however which...
https://github.com/orourkedd/effects-as-data https://medium.com/javascript-scene/mocking-is-a-code-smell-944a70c90a6a https://redux-saga.js.org/ https://erock.io/simplify-testing-async-io-javascript/ https://redux-loop.js.org/docs/tutorial/Tutorial.html Elm Architecture https://github.com/dubzzz/fast-check --- There's a lot of focus around doing this on the front end. And it's true using UIs are doused in reactivity...
Sometimes you have one shell, sometimes you have more. How to avoid duplicating organizing code when you have many shells? Or is that duplication a good thing, if logic can...