Article View: comp.lang.c
Article #534Re: Taming The Switch-Statement
From: Lawrence D’Oliveiro
Date: Mon, 19 Oct 2026 01:56
Date: Mon, 19 Oct 2026 01:56
10 lines
1753 bytes
1753 bytes
On Sun, 18 Oct 2026 23:51:25 -0000 (UTC), Waldek Hebisch wrote: > Writing statement with parentheses may look silly, but such code may > be easily produced due to use of macros. Why do you need to distinguish between “statements” and “expressions”, anyway? By the way, the precursor of C, BCPL, allowed statement sequences inside expressions. For some reason this got dropped from C.
Technical Details
Message-ID:
<11b3tc5$1lgro$3@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<119qf6l$2rmg3$1@dont-email.me> <11b2eck$3pvd9$1@dont-email.me> <20261018171339.00005308@yahoo.com> <11b2pq5$3pvda$7@dont-email.me> <11b3gkj$mt2$1@reader2.panix.com> <11b3m1r$3tp6p$1@paganini.bofh.team>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Mon, 19 Oct 2026 01:56:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: <11b3tc5$1lgro$3@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11b2eck$3pvd9$1@dont-email.me> <20261018171339.00005308@yahoo.com> <11b2pq5$3pvda$7@dont-email.me> <11b3gkj$mt2$1@reader2.panix.com> <11b3m1r$3tp6p$1@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Oct 2026 01:56:22 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1753976"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wSeBmTyP0GYEttA/sMYdS"; posting-host="7582df13bf715312ab5ab1245fb66130" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:ZzZqME2SEXtHDBadBk33xM32d1c= sha256:u5B3/lgWEIxfmEeDKQee4QgSct0EymWd/gJJIi2V2t4= sha1:0GI/mUWddtkLWZ2zVsXWrMQD0YU= sha256:sZbslVb9KCIbfkoWw+x/1qfvElHNIPV0tBud7fTIXUA=