DEV Community

Discussion on: Let's build Zork using Rust!

przygienda profile image
Tony Przygienda

Yes it’s mine but that’s kind beside the point since FSM have been invented long time ago as methodology to build nontrivial maintainable asynchronous systems and data driven approach as best engineering approach to them. I understand the initial simplicity of couple case statements but frankly giving someone something like this as interview question and failing people when they don’t implement FSMs over data driven approach is what we use in systems companies often.