Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Tue, 20 Oct 2026 02:53:02 -0700 Organization: A noiseless patient Spider Lines: 38 Message-ID: <86tsmgog01.fsf@linuxsc.com> References: <119qf6l$2rmg3$1@dont-email.me> <11au6pr$3mdne$1@kst.eternal-september.org> <11auc0s$206gh$3@dont-email.me> <11b285v$121v2$2@dont-email.me> <11b3hfo$8vk$1@reader2.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 20 Oct 2026 09:53:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3042433"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/munnyMC8jqVnfcVmCOszOfAyltrdxEHY="; posting-host="9df08f8720e7d6c5f9792d5f5cf06aad" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:MdZXO5rx7DBiQmuoGiU8GrfE4t4= sha1:JpgZYRNEzZ6CjDojcwN3Wl47kSk= sha256:8llepAdQt9kOHYzPzd2IyN3Tgy8WteiMZkWHiVeq7Fc= sha1:+2ssBv01ygcBpYH5Mp79dAkUV/A= sha256:asgYUyy0npHV3c6ovkOAelR6l/ZkWAfrv7NHaHY/l28= Xref: csiph.com comp.lang.c:403372 cross@spitfire.i.gajendra.net (Dan Cross) writes: > In article <11b285v$121v2$2@dont-email.me>, > David Brown wrote: > >> On 17/10/2026 01:29, Janis Papanagnou wrote: >> >>> On 2026-10-17 00:00, Keith Thompson wrote: >>> >>>> Tim Rentsch writes: >>>> >>>>> Keith Thompson writes: >>>>> [...] >>>>> >>>>>> There's a proposal for C2y to use goto labels as loop names, and a >>>>>> competing one to define a new syntax like "for NAME (;;)" : >>>>>> [...] >>>>> >>>>> I'm not particularly a fan of multi-level break/continue. But if >>>>> we're going to have one of these, the second ("for NAME (;;)") is >>>>> unquestionably better. >>>> >>>> Unquestionably? Why? >>> >>> Why would one question an opinion? ;-) >> >> Time didn't word it as a personal opinion - he made it clear that he >> doesn't think anyone else could have a different opinion. > > Tim often makes it sound as though he believes that his opinions > are facts. I invite you to compare the statements made about David Parnas and his advice on software development, first those in the original edition of The Mythical Man-Month and second those in the revised (20th Anniversary) edition of MM-M, both of course by Fred Brooks. I learned a lot from Fred Brooks.