AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Make Your Application Functionally Pure
When you create an application, you do want that application to mutate some state. So what you need to strive for is the so called functional architecture. The demain model is responsible for your domain logic and i like to call it mutable core. And then at the bottom, all the decisions made by the domain model and communicates it to external systems including your data base.