Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpsqf!hpopd!daves From: daves@hpopd.HP.COM (Dave Straker) Newsgroups: comp.lang.c Subject: Re: The Sins of K&R Message-ID: <7990018@hpopd.HP.COM> Date: 27 Sep 90 09:27:48 GMT References: <31604@nigel.ee.udel.edu> Organization: HP PWD, Pinewood UK. Lines: 33 / hpopd:comp.lang.c / shearer@cis.udel.edu (Rob Shearer) / 4:02 pm Sep 26, 1990 / As one of my old C Profs stated: "If you don't like the way "C" is.. find yourself a new language.... don't take MY "C" away from me..." If I wanted to do something ... I should be able to do it. If I made a stupid mistake, then that is my fault. "C" gives one the power to do what s/he wants not what another program (Compiler) regulates... As for the break from the switch sin... ( i disagree with most of the sins.. except for 8char variables.. but then again... my compiler allows 32) I do this alot: ch = getch(); switch (ch) { case 'q': case 'Q': case 27 : case 13 : exit_menu = 1; break; case 'a': do_a(); break; ...etc } And personally I don't care if you want to do switch (upcase(ch)) { and have a differetn case for Q,27,13... that is yoru business... but the way *I* want to do it is up to me... Robb Shearer shearer@sol.cis.udel.edu ----------