bakemawaytoys
Joined 4 years ago
Joined 4 years ago
The database is not your domain model, it is the storage representation of your domain model on disk. Your REST/grpc/whatever API also isn’t your domain model, but the representation of your domain model on the wire.
These tools (database, protocols) are not the place to enforce making invalid states un-representable for reasons the article mentions. You translate your domain model into and out of these tools, so code your domain model as separately and as purely as you can and reject invalid states during translation.
This sounds like a terrible idea, and nearly impossible to debug when it inevitably drops data.
The Netherlands did do this decades ago (Utrecht from the video).
What's North America's excuse?
We can both see how much money is allocated to everything, if there's anything one of us wants to spend money on that would be a shared thing - we budget for it.
Had I known this at the time, I probably would've forced myself to ride my indoor stationary bike every day if it would've helped avoid that immune booster drug.
The song has a dramatic opening, to say the least.