4 ms·
I feel like immutability is overrated as hell Robust result type benefits give way more
by high_na_euv 2y ago
I feel like immutability is overrated as hell
Robust result type benefits give way more
- AdieuToLogic 2y ago> I feel like immutability is overrated as hell Logic defined in terms of immutability can trivially support "undo" and "replay" functionality, amongst other more interesting workflows such as event streaming. Logic defined in terms of mutable collaborations cannot do so with the same ease.
- fire_lake 2y agoImmutability and types go hand in hand. Why? Well with immutability you can do more modelling of your domain as data and then the type system helps you manipulate this data only in valid ways. No type system (I am aware of) can model and check mutable domain models.