Usage of goto's

Cedric Ramsey ramsey at NCoast.ORG
Fri Sep 28 22:12:30 AEST 1990


Hello once again peoplekind. I have a question about goto's. We all
know that there usage is taboo in any language but what better way 
do we have to implement finite state machines. A switch statement ?
All a switch statement is a goto statement, internally that is. So
then, maybe it is okay to implement goto's for NFA's, DFA's, and
transition diagrams.

Is it okay for a programmer to break a TABOO intentionally; by design?



More information about the Comp.lang.c mailing list