Hacker News new | ask | show | jobs
by yxhuvud 3005 days ago
Right, and most of the times, if state have different life times, then it should be in different classes.
1 comments

What do you mean by life times?
Is the state eternal or not (ie is it immutable)? Will the state typically change at the same time as some other state (like an address, or stuff related to some other event)?