Originally shared by Guido Stepken
Complex “finite state machines” – easily implemented:
And one #FSM with function pointers: http://stackoverflow.com/questions/1371460/state-machines-tutorials
Both are working with decision tables, which are very easy to verify. You can even print them out, edit them in EXCEL, … No longer “if then else if if …” – orgies, no complex parsers, … just plain “C”.
And i can tell you – blindingly faaaaaaast!!!