Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!abvax!iccgcc!browns From: browns@iccgcc.decnet.ab.com (Stan Brown, Oak Road Systems) Newsgroups: comp.lang.c Subject: Re: switch break Message-ID: <1285.270b3b9e@iccgcc.decnet.ab.com> Date: 4 Oct 90 18:39:42 GMT References: <15611@csli.Stanford.EDU> <11428@alice.att.com> <1990Oct3.160403.517@Neon.Stanford.EDU> Lines: 16 About the fact that a case in a switch statement falls through to the next case unless there's an explicit break: In article <1990Oct3.160403.517@Neon.Stanford.EDU>, dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) writes: > I doubt anyone has difficulty understanding the semantics of switch, > they are simple enough. That doesn't mean we agree with them. Any decent > C programmer uses switch correctly every day of eir life, but I doubt > that I am alone in having omitted it by accident once or twice and > having been left with annoying bugs. Bingo. The above is my own opinion and not attributable to any other person or organization. email: browns@iccgcc.decnet.ab.com Stan Brown, Oak Road Systems, Cleveland, Ohio, U.S.A. (216) 371-0043