Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!shelby!neon!Gang-of-Four!dkeisen From: dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) Newsgroups: comp.lang.c Subject: Re: switch break Keywords: switch break first language Message-ID: <1990Oct5.165846.2461@Neon.Stanford.EDU> Date: 5 Oct 90 16:58:46 GMT References: <1990Oct3.160403.517@Neon.Stanford.EDU> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Sequoia Peripherals Lines: 25 In article roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes: >dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) writes: > >> Changing the default to breaking and allowing the word >> continue to be used for fall-through where would make switch statements >> cleaner and would save typing in both the fall through and other case --- > >Continue, though, is already a keyword for loop control. Giving it two >seperate and context-dependant tasks would, IMHO, _really_ screw people >up. Break, though, is already a keyword for loop control. Giving it two separate and context-dependent tasks would, IMHO, _really_ screw people up. Oh hell, I guess they'll muddle through somehow. -- Dave Eisen Home: (415) 323-9757 dkeisen@Gang-of-Four.Stanford.EDU Office: (415) 967-5644 1447 N. Shoreline Blvd. Mountain View, CA 94043