Re: about some potentially interesting unicode operators

Liste des GroupesRevenir à cl c  
Sujet : Re: about some potentially interesting unicode operators
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.c
Date : 29. Aug 2024, 03:36:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vaojbq$3mepa$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 29.08.2024 01:13, Lawrence D'Oliveiro wrote:
 
Fun fact: Python’s operator precedence rules differ from C’s ones in one
subtle little way, that actually reduces the need for parentheses in real-
world code.

It's the bit-operations (&, ^, |), I suppose?  <lookup>  Yes!
Python did the right thing (here).

 
While Python and C++ let you define new overloads for standard operators,
very few languages allow you to define entirely new operators. Algol 68
did (from a limited character set).

Redefining priorities of operators in Algol 68 (a rarely found
feature) might be surprising to the unaware, though.

Janis


Date Sujet#  Auteur
28 Aug 24 * about some potentially interesting unicode operators23fir
28 Aug 24 +* Re: about some potentially interesting unicode operators20Blue-Maned_Hawk
28 Aug 24 i+* Re: about some potentially interesting unicode operators16Keith Thompson
28 Aug 24 ii+- Re: about some potentially interesting unicode operators1Keith Thompson
29 Aug 24 ii`* Re: about some potentially interesting unicode operators14Lawrence D'Oliveiro
29 Aug 24 ii `* Re: about some potentially interesting unicode operators13Keith Thompson
29 Aug 24 ii  +* Re: about some potentially interesting unicode operators10Janis Papanagnou
29 Aug 24 ii  i`* Re: about some potentially interesting unicode operators9Janis Papanagnou
29 Aug 24 ii  i `* Re: about some potentially interesting unicode operators8Keith Thompson
29 Aug 24 ii  i  `* Re: about some potentially interesting unicode operators7Michael S
29 Aug 24 ii  i   +* Re: about some potentially interesting unicode operators2Michael S
30 Aug 24 ii  i   i`- Re: about some potentially interesting unicode operators1Michael S
29 Aug 24 ii  i   `* Re: about some potentially interesting unicode operators4Keith Thompson
30 Aug 24 ii  i    `* Re: about some potentially interesting unicode operators3Lawrence D'Oliveiro
30 Aug 24 ii  i     `* Re: about some potentially interesting unicode operators2Keith Thompson
31 Aug 24 ii  i      `- Re: about some potentially interesting unicode operators1Lawrence D'Oliveiro
29 Aug 24 ii  +- Re: about some potentially interesting unicode operators1Lawrence D'Oliveiro
29 Aug 24 ii  `- Re: about some potentially interesting unicode operators1David Brown
29 Aug 24 i`* Re: about some potentially interesting unicode operators3Lawrence D'Oliveiro
29 Aug 24 i +- Re: about some potentially interesting unicode operators1Janis Papanagnou
29 Aug 24 i `- Re: about some potentially interesting unicode operators1fir
29 Aug 24 +- Re: about some potentially interesting unicode operators1Lawrence D'Oliveiro
5 Sep 24 `- Re: about some potentially interesting unicode operators1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal