Re:Pretty State Machine Patterns in Rust
by theOGognf on Sunday April 20, 2025 @02:45AM
(#43741975)
It’s funny seeing this blog post again. This is actually a reference I used to make a poker game as a state machine last year: https://github.com/theOGognf/private_poker
It made the development feel a lot safer and it’s nice knowing the poker game state cannot be illegally transitioned with the help of the type system
It made the development feel a lot safer and it’s nice knowing the poker game state cannot be illegally transitioned with the help of the type system