Re:The Tcl War (1994)
by ArkyBeagle on Sunday July 03, 2016 @12:27PM
(#12026555)
Depends on what you mean by "complicated". My habit is to lay things out in event cross state and for that, it's pretty even. IMO, FSM are awfully good at reducing/decomposing complexity. An FSM in Tcl may look like:
array set FSM {
init {
...
set state two
}
two { ...
}
}...
set state init
...
eval $FSM($state)
I have just put together too many things that would have been severely daunting in any other way in this manner to agree with you.
The Tcl language OTOH .. awful once you tried to do anything mildly complicated.