Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c Subject: Re: Usage of goto's Message-ID: <11403@alice.UUCP> Date: 29 Sep 90 19:47:47 GMT References: <1990Sep28.121230.17767@NCoast.ORG> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 17 In article <1990Sep28.121230.17767@NCoast.ORG>, ramsey@NCoast.ORG (Cedric Ramsey) writes: > 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 ? Please, please, please -- before saying anything about this, go read D. E. Knuth: Structured Programming with Goto Statements ACM Computing Surveys, January 1974 (I think) Almost everything you're thinking about saying has been covered there. Let's not rehash the whole discussion again. -- --Andrew Koenig ark@europa.att.com