Happy Path Programming cover image

#79 Domain-Driven Design and Moduliths with Oliver Drotbohm

Happy Path Programming

00:00

The Importance of Immutable Data Structures

The idea of a record where everything is exposed is definitely a mind shift. Once you see it, then you go, Oh, yeah, we don't actually need encapsulation. We've got immutable data structures. For simple values, it's perfectly fine just that if you basically try to let's see have your entire customer model does a record just because it's immutable, then it's kind of still not the right thing.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app