Article View: comp.lang.c
Article #370Re: Taming The Switch-Statement
From: Kenny McCormack
Date: Wed, 14 Oct 2026 01:50
Date: Wed, 14 Oct 2026 01:50
25 lines
2000 bytes
2000 bytes
In article <11amlq9$12efg$1@kst.eternal-september.org>, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: >bart <bc@freeuk.com> writes: >[...] >> My view is that using distinct keywords for loop-break and >> switch-break (accepting that the language wants the latter) would have >> had pretty much zero costs, but worthwhile benefits. > >I agree, and I don't think that's particularly controversial. > >The point on which we disagree is what can and should be done about >it now. The answer to that is: Invent new languages with C-like syntax, but better. You can't do anything about C, but you can do better as long as you call the result something else. Like C#. Like C++. Like Swift. -- People seem to think that Youtube (and Facebook and Twitter and so on) is (are) some sort of resource created for the public good. Why they delude themselves into believing this is beyond my ability to comprehend. Usenet will always be here. Longer than people remember what port 80 was for.
Technical Details
Message-ID:
<11amn48$7ell$1@news.xmission.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!csiph.com!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mailReferences:
<119qf6l$2rmg3$1@dont-email.me> <86zewhhdep.fsf@linuxsc.com> <11aljoo$m15u$1@dont-email.me> <11amlq9$12efg$1@kst.eternal-september.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!csiph.com!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail From: gazelle@shell.xmission.com (Kenny McCormack) Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Wed, 14 Oct 2026 01:50:00 -0000 (UTC) Organization: The official candy of the new Millennium Message-ID: <11amn48$7ell$1@news.xmission.com> References: <119qf6l$2rmg3$1@dont-email.me> <86zewhhdep.fsf@linuxsc.com> <11aljoo$m15u$1@dont-email.me> <11amlq9$12efg$1@kst.eternal-september.org> Injection-Date: Wed, 14 Oct 2026 01:50:00 -0000 (UTC) Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4"; logging-data="244405"; mail-complaints-to="abuse@xmission.com" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: gazelle@shell.xmission.com (Kenny McCormack)