3 ms·
For the room, yes, state and time happen to be the same thing. However for a lot of systems thats not the case. Worrying about hidden state is the enemy of joy
by KaiserPro 2y ago
For the room, yes, state and time happen to be the same thing.
However for a lot of systems thats not the case. Worrying about hidden state is the enemy of joy.
Sure, if you are doing shared things, or exposing the internals of something to the world, then yes, you need to be paranoid. But, marshalling things so that state is in a known and guarded place is a much better way to think about things.
State is basically the computer science version of an egg drop. There are many ways to make it work, some more complex than others. but worrying about sudden cross winds[0] isn't the way to make sure your egg doesn't shatter when it hits the floor.
[0] unless your arena has active cross winds of substance.