Article View: comp.lang.c
Article #427Re: Taming The Switch-Statement
From: Janis Papanagnou
Date: Thu, 15 Oct 2026 18:50
Date: Thu, 15 Oct 2026 18:50
30 lines
2484 bytes
2484 bytes
On 2026-10-15 16:37, Dan Cross wrote: > In article <86bj8vqhtl.fsf@linuxsc.com>, > Tim Rentsch <tr.17687@z991.linuxsc.com> wrote: >> [...] > > It is probably true that this snippet is a good example of how > labeled break/continue can be abused. [...] Else-thread (in a reply to bart) you had already written: > > The point was to illustrate a contrived > example where one might break out of nested switch statements, > loops inside of switch, switch inside of loops, loops inside of > switch inside of loops, and so on. In a newsgroup (also generally) where part of the audience isn't interested in understanding the context and intention of such examples it's "good" fodder for those to continue their campaign. Of course your example with its intent were obvious and clear. Your formerly posted explanations without code had already been clear. (I.e., for those that were interested to understand the point. For those that aren't, with every additional post, and especially with lots of code, you just feed the... - campaigners. Wasted time, IMO.) Janis > [...]
Technical Details
Message-ID:
<11ar7a6$206gg$1@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> <11aoqa9$1rgda$1@dont-email.me> <11apa4b$kv$1@reader2.panix.com> <86bj8vqhtl.fsf@linuxsc.com> <11aqoep$82u$1@reader2.panix.com>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: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Thu, 15 Oct 2026 20:50:46 +0200 Organization: A noiseless patient Spider Lines: 30 Message-ID: <11ar7a6$206gg$1@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11aoqa9$1rgda$1@dont-email.me> <11apa4b$kv$1@reader2.panix.com> <86bj8vqhtl.fsf@linuxsc.com> <11aqoep$82u$1@reader2.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 15 Oct 2026 18:50:46 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2103824"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gpnumVM/wvGy+3NBjvZxD"; posting-host="b0dc77b18da5cc7911bbe382caff639a" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:iU9hyEVh9Tr866OJOdQlAZhPP9o= sha256:esXSIUj83lSr3w3XglqmbJO/MrOV2QRLkRrOQroSuwA= sha1:Xo4V+366elbnoWoS50//Q+B6TNk= sha256:V01MrC8+SADEh1bOPEsYB/hMFlCVbwz12HNR63pHlYI= Content-Language: en-US In-Reply-To: <11aqoep$82u$1@reader2.panix.com>