Article View: comp.lang.c
Article #620Re: Taming The Switch-Statement
From: bart
Date: Tue, 20 Oct 2026 23:01
Date: Tue, 20 Oct 2026 23:01
56 lines
3482 bytes
3482 bytes
On 20/10/2026 21:33, Michael S wrote: > On Tue, 20 Oct 2026 15:11:35 +0100 > bart <bc@freeuk.com> wrote: > I suppose that you wholeheartedly agree. I don't. I never found computer > language design fun. The fun part is afterwards when you use your very own language. Quite a way to get there though. > Methinks there were less than 100 people exposed to C before it became > too late. May be, just 50. Were you there? You seem confident of those figures! I've no idea what went on, myself; I can only speculate. > >> Had no-one even glanced at a Pascal spec, if there was no working >> copy? It would have transformed C type syntax. >> >> (ACTUALLY IT IS NOT TOO LATE. A secondary postfix deref op could have >> been added. This could have been done 50 years ago, with the original >> eventually deprecated. >> >> But this is a common theme of mine whether I perceive a problem that >> people grudgingly admit might not be idea. But nothing was ever done >> to fix it even after decades.) >> > > It was. There are many new languages. > Today, C sees little use outside of small to mid-sized mocrocontrollers > and OS kernels. > Most user-layer applications on general purpose computers are written > in newer languages. I still see C everywhere, for example in the APIs of libraries like SDL, STB, GTK, OpenGL, Raylib, GMP, plus the APIs for many Windows subsystems, plus Linux. It's also popular as a target language for compilers (when LLVM is too much). Amateur compiler writers also seem to love creating C or C subset compilers more than any other language (they perceive it as simpler than it really is). And many language projects are still written in C, or at bootstrapped with C. This is all desktop machines still. Of course many are also migrating to products like Rust, Go and Zig. For me, the fact that there's still an appetite for a language of this class is one reason I still persist with mine.
Technical Details
Message-ID:
<11b8rrh$3eu2m$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> <11avmfb$55rt$1@dont-email.me> <11b0cvs$skc$1@reader2.panix.com> <11b0mfv$j5ll$1@dont-email.me> <11b3r71$6me$1@reader2.panix.com> <11b500f$216c4$1@dont-email.me> <11b6ekh$d2qm$1@paganini.bofh.team> <11b7sqn$32pr5$1@dont-email.me> <20261020233337.00004699@yahoo.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: bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Taming The Switch-Statement Date: Wed, 21 Oct 2026 00:01:05 +0100 Organization: A noiseless patient Spider Lines: 56 Message-ID: <11b8rrh$3eu2m$1@dont-email.me> References: <119qf6l$2rmg3$1@dont-email.me> <11avmfb$55rt$1@dont-email.me> <11b0cvs$skc$1@reader2.panix.com> <11b0mfv$j5ll$1@dont-email.me> <11b3r71$6me$1@reader2.panix.com> <11b500f$216c4$1@dont-email.me> <11b6ekh$d2qm$1@paganini.bofh.team> <11b7sqn$32pr5$1@dont-email.me> <20261020233337.00004699@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 20 Oct 2026 23:01:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3635286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZhbaIVk5oPu9t4mjm6fyV"; posting-host="7c142682e3246f1a229ef2ca48617714" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1fE4Iv1Da9dUtPQbCeEaqwkPCQ8= sha256:wM7/60Ak/V61V+VhDmqj98UCOWBl4ZDomFprxq1+ePQ= sha1:nWvEOpY8sRnUjVaHbQvO+9OR870= sha256:r3tPmt8odiIpKQOvi7d2vx47WgT8Pd1WzocMA54yfZU= In-Reply-To: <20261020233337.00004699@yahoo.com> Content-Language: en-GB