Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!decwrl!shelby!msi-s0.msi.umn.edu!cs.umn.edu!cybrspc!roy From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail) Newsgroups: comp.lang.c Subject: Re: switch break Keywords: switch break first language Message-ID: Date: 4 Oct 90 23:46:14 GMT References: <1990Oct3.160403.517@Neon.Stanford.EDU> Organization: Villa CyberSpace, Minneapolis, MN Lines: 14 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. I'll keep the breaks, thank you, and the inherent lack of constriction C allows. -- Roy M. Silvernail |+| roy%cybrspc@cs.umn.edu |+| #define opinions ALL_MINE; main(){float x=1;x=x/50;printf("It's only $%.2f, but it's my $%.2f!\n",x,x);} "This is cyberspace." -- Peter da Silva :--: "...and I like it here!" -- me