Sujet : Re: about some potentially interesting unicode operators
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 29. Aug 2024, 00:15:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vaob37$3l470$6@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.160 (Toresk; )
On Wed, 28 Aug 2024 12:46:55 -0700, Keith Thompson wrote:
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.
The best way is the Compose key available on *nix systems. This is the
closest to a mnemonic-based system that reduces the burden on your memory.
<
https://wiki.wlug.org.nz/ComposeKey>
There's nothing wrong with using identifiers as operator names.
C already does this with "sizeof" et al.
Except they add to your list of reserved words.