Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: about some potentially interesting unicode operators Date: Wed, 28 Aug 2024 13:30:23 -0700 Organization: None to speak of Lines: 21 Message-ID: <87plpsbdb4.fsf@nosuchdomain.example.com> References: <87a5gwctw0.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 28 Aug 2024 22:30:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1017e97994ee365b6a0a4b9b05fc05d0"; logging-data="3779170"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/g9s1+KkUYgtzlnxIycXT8" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:bSw0zgs6oYKnE13f/12HoF2lstg= sha1:ZjLA/RTxwleHsauVaRjda+ThCNU= Xref: csiph.com comp.lang.c:387935 Keith Thompson writes: > Blue-Maned_Hawk writes: >> I personally hate all operators. That said, i agree with the general idea >> that Unicode has a lot of symbols out of ASCII that are underutilized. C >> has limitations on what symbols are permitted in identifiers, but in >> previous projects of mine, i was able to work within that prison and used >> the ยท character for a sort of psuedonamespacing. (I later abandoned this >> practice for other reasons.) > > A problem with using non-ASCII Unicode characters as operator > names is that they can be difficult to type -- and the way you type > them is inconsistent across systems. > > There's nothing wrong with using identifiers as operator names. > C already does this with "sizeof" et al. I probably should have said "keywords" rather than "identifiers". -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */