DEV Community

Discussion on: State Driven Development for User Interfaces (Part 2: Finite State Machines)

 
dallgoot profile image
dallgoot

I agree : thinking in terms of FSM it 's an approach that's not only easier but more related to reality of systems, if i could say so.

From your answer i understand that, in fine, a FSM can also be looked as a group of states which implies that the "root" state are defined by the states of its "children" without having to care -i assume- about all the possible states of the entire application.

thank you for these articles and answers :)

Thread Thread
 
nimmo profile image
Nimmo

You're welcome, thank you for reading them! :-)

And yes, that's exactly it. Basically this whole thought process isn't really about building applications with FSMs, it's about recognising that your system is an FSM already (even before you've built it!) and using that realisation to allow you to better plan out your application from the start.