Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!botter!tjalk!rblieva From: rblieva@cs.vu.nl (Roemer b Lievaart) Newsgroups: comp.lang.c Subject: Re: goto's Message-ID: <855@tjalk.cs.vu.nl> Date: Fri, 31-Jul-87 14:41:51 EDT Article-I.D.: tjalk.855 Posted: Fri Jul 31 14:41:51 1987 Date-Received: Tue, 4-Aug-87 01:48:21 EDT Reply-To: rblieva@cs.vu.nl (Roemer B. Lievaart) Organization: VU Informatica, Amsterdam Lines: 30 Although I usually hate goto's, here is an example which I used myself two or three times: switch( expr ) { defolt: default: /* code, probably error handler */ break ; const1: ... const2: if ( ! const2_allowed ) goto defolt ; else ... const3: ... ... } Now this is just another example which seems to me perfectly readable. But I must say, far most goto's I find detesting. Yech! One shouldn't get used to goto's, that's my opinion. Let's live, Roemer B. Lievaart... Amsterdam. Q: How many IBM cpu's does it take to do a logical right shift? A: 33. 1 to hold the bits and 32 to push the register.