New answers tagged state
2
There is a fundamental decision here that has locked you into this design. Your model is always available and known to everything. This has forced you to make your model mutable.
Instead, you could design a system where most or your models are immutable response models that only exist once fully “loaded”. These models data would never be out of sync with ...
answered Dec 31 '20 at 15:50
candied_orange
79.9k2121 gold badges160160 silver badges254254 bronze badges
Top 50 recent answers are included
Related Tags
state × 131design-patterns × 17
design × 12
object-oriented × 12
functional-programming × 12
javascript × 9
java × 8
finite-state-machine × 8
globals × 8
c × 7
c# × 6
session × 6
redux × 6
c++ × 5
web-development × 5
rest × 5
python × 4
coding-style × 4
terminology × 4
variables × 4
immutability × 4
reactjs × 4
side-effect × 4
php × 3
object-oriented-design × 3