Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!sharkey!atanasoff!hascall From: hascall@atanasoff.cs.iastate.edu (John Hascall) Newsgroups: comp.lang.c Subject: Re: OH NO!! (Re: Standard Indentation etc.) Message-ID: <655@atanasoff.cs.iastate.edu> Date: 13 Jan 89 18:11:34 GMT References: <952@ardent.UUCP) <1098@goofy.megatest.UUCP> <828@wsccs.UUCP> Reply-To: hascall@atanasoff.cs.iastate.edu (John Hascall) Organization: Iowa State U. Computer Science Department, Ames, IA Lines: 28 In article <828@wsccs.UUCP> wes@wsccs.UUCP (Barnacle Wes) writes: >From article <952@ardent.UUCP), by mec@outcast.ardent.com (Michael Chastain): >) OK, here's my favorite switch statement: ...start of switch omitted.... >) case 1: >) stmt; >) goto LCase2; >) case 2: >) LCase2: >) stmt; >In article <1098@goofy.megatest.UUCP>, djones@megatest.UUCP (Dave Jones) writes: >How 'bout a USELESS GOTO ALERT! If you remove the lines >) goto LCase2; >and >) LCase2: > >the code does the same thing! Whoever wrote this mess needs to get a job >he/she/it can actually handle. Calm down. Perhaps he was just being safe (i.e., in case someone was to later insert another case-label between case1 and case2). John Hascall ISU Comp Center