this post was submitted on 07 Feb 2025
561 points (98.6% liked)

Gaming

22076 readers
7 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Lifter@discuss.tchncs.de 2 points 2 months ago (1 children)

I'm sorry I don't getting your point . You start off by agreeing that you don't like the extra complexity that the update statements give. Then do some pseudo code of something entirely different where we all already agree is not an issue.

Then at the end your conclusion is that it is totally feasible. Why? You still didn't adress the problem of updating the state

[–] JustAnotherKay@lemmy.world 2 points 2 months ago

My point was "are state machines really that complicated? Isn't it just something like this pseudo code and a return value from your functions?"

Basically I feel like this is a 2 step process but you seem like you either know more than I do or have a different philosophy about how this would be implemented, so I want to understand what I'm missing