Article View: comp.lang.c
Article #1468Re: new neat for syntax discovered
From: fir
Date: Wed, 11 Nov 2026 20:48
Date: Wed, 11 Nov 2026 20:48
58 lines
3187 bytes
3187 bytes
bartc pisze: > On 11/11/2026 16:19, fir wrote: >> Bonita Montero pisze: >>> Am 11.11.2026 um 16:06 schrieb fir: >>> >>>> some may notice it may be allso called "for operator" >>> >>> I don't see any sense in this. And a conventional for is >>> somewhat more convenient to read than your exotic syntax. >>> >> operator is much more powerful - its sole sign ' instead of >> >> for(int i=0; i<tab_max; i++) >> tab[i]; >> >> vs >> >> 'tab > > This is even shorter: > > tab > > Your array-traversing examples won't work beyond simple examples. For > example, you may have some arbitrary expression with 12 arrays of > different lengths all with ' or ''; where do you even start to explain > what it is supposed to mean or how those different loops interact? > > For high-level array operations, forget explicit loops, and just have > proper first class arrays in the language. > > Since there seems to be no limit to what this fantasy language can do. > if you give example i may see... normalli code in c on span of 25 years and didnt seen that what youre talkin about tab alone you rather cant use becouse normally it has other meaning - though some can use warious default meanings in special contextes ' understood as loop operator for me is good, and some default rules are not hard (i mentioned some of them) but if youre boring give some examples and we may see > >> >> it allows you to vrite more complex array-iteration-based codes >> in one line > > Like, APL? It is compact, cryptic, /needs/ Unicode, and whole programs > can usually be written on one line. It sounds perfect for your purposes. > >
Technical Details
Message-ID:
<11d2kch$3cqnl$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cv6t1$2694b$1@dont-email.me> <11d1uvp$3414q$1@raubtier-asyl.eternal-september.org> <11d20b5$34l7t$1@dont-email.me> <11d2406$3640h$1@raubtier-asyl.eternal-september.org> <11d24ig$36an9$1@dont-email.me> <11d2b0c$3939f$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: new neat for syntax discovered Date: Wed, 11 Nov 2026 21:48:56 +0100 Organization: A noiseless patient Spider Lines: 58 Message-ID: <11d2kch$3cqnl$1@dont-email.me> References: <11cv6t1$2694b$1@dont-email.me> <11d1uvp$3414q$1@raubtier-asyl.eternal-september.org> <11d20b5$34l7t$1@dont-email.me> <11d2406$3640h$1@raubtier-asyl.eternal-september.org> <11d24ig$36an9$1@dont-email.me> <11d2b0c$3939f$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Nov 2026 20:49:22 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3566325"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+o+y3h4ZXDjm0mzB3ux19xPBFkkYbT748="; posting-host="fd0bc059d4f5217504b01a2a82a591ba" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0 SeaMonkey/2.53.24 Cancel-Lock: sha1:Wdhm+knDZbl3oLGajMVsPBpystA= sha256:7OX9GMjv7dr971yOXRliOwXsTkaqoo9sXGFNS0yyL5Y= sha1:YJy7Bub1/e4dwbOU0NyxWhQrO4Y= sha256:LqB1WvH3XjUnuCtCurAbk7fIln5M3trW6KHPSGuiyDo= In-Reply-To: <11d2b0c$3939f$1@dont-email.me>