Functional Core for a Side-Effect-Free Application Core
summary
The talk explains how to apply the Functional Core / Imperative Shell architecture in Java to get functional-programming benefits (pure functions, immutability, easier testing) without switching to a purely functional language. It describes separating a pure, immutable application core from an imperative outer layer that handles side effects like persistence and service calls, and shares pros and cons based on experiences building and deploying ES/CQRS microservices with this approach.
AI-written summary · about
chapters (7)
- 0:00Start
- 11:31Let's get to work... Talk
- 12:39Agenda
- 18:52Usage in the Imperative Shell
- 20:31Testing the Functional Core
- 21:41Testing the Imperative Shell
- 24:03Testing Imperative Shell
related talks
42mPure Functions and Immutable Objects
45mFrom Imperative to Functional
36mHow functional programming change my Java code
46mDesigning Functional Programs
01h 05mFrom object oriented to functional domain modeling
51mFunctional Principles for Object Oriented Development
32mFunctional Programming on Android
01h 01mLeaving side effects aside
