Quote:
Originally Posted by Bpk9p4
... i do not like not being able to see everything at once...
|
Along this line, as you get more complex you will end up having code running off the screen (bad practice), so you really limit yourself in that regard. If you give meaningful names to your states it should actually be far easier to navigate and becomes self commenting.
Quote:
Originally Posted by Bpk9p4
Also it is hard to move states around. Do you have any ways around these problems
|
I am not sure what you mean by not being able to move states around, do you mean physically move on the block diagram, or changing the sequence?
If you limit each state to small functions you can make it more modular and keep each state smaller. This may force you to pass more data however.
This is the structure I like to use to pass data between states:
