| Deutsch English Français Italiano |
|
<87a5gwctw0.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: about some potentially interesting unicode operators
Date: Wed, 28 Aug 2024 12:46:55 -0700
Organization: None to speak of
Lines: 18
Message-ID: <87a5gwctw0.fsf@nosuchdomain.example.com>
References: <ad7303b3dd7422351ca7aedae5c62c44b87d29f3@i2pn2.org>
<pan$49d0b$11f78ad1$d60b5799$120ef802@invalid.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 28 Aug 2024 21:46:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1017e97994ee365b6a0a4b9b05fc05d0";
logging-data="3779170"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SwrlMT2tK1MckU/HF1IJe"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:jSgmv3K/9hEfj0YhfhmjfKA0r4M=
sha1:tjj6t2kwXsKZv6Gu9YLE1pnvv9g=
Bytes: 1968
Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> 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.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */