Patrick Roza·Jun 15, 2019When to return a Result.Error and when to throw an Exception?In the previous part I introduced the Result class as a means of control flow and error handling. Now I will focus on when to use the…
Patrick Roza·Jun 11, 2019More advanced pipeline compositionWhen we add more functional composition tools to our belt, we can start composing usecase pipelines that are both terse and descriptive.
Patrick Roza·Jun 9, 2019Result: Composition and Error handlingWe can improve our error handling and composition by leveraging a Result class and several other tools from the functional programming…
Patrick Roza·Jun 8, 2019Component vs Prop drilling in ReactRecently, often the question is asked if Hooks and Context replaces Redux. It is more a question of do you need Redux, and perhaps how…