Sujet : Re: Operator precedence
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.awkDate : 31. May 2024, 16:08:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3cp59$29ass$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 30.05.2024 10:24, Axel Reichert wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
There's three power operators in Algol 68 ('UP', '^', '**') each with
the same default precedence (and each individually changeable.
As you have mentioned upthread, changing the precedence is scary.
Obfuscated Algol contest ... (-:
Yes, indeed.
OTOH, folks who dislike some precedence (cf. '**', as discussed
here) might then "fix" it to match their own preferences.
Defining precedences for programmer-defined operations is a good
thing, but standard operators for standard expressions (however
they are defined) should be excluded from change; this would be
my preference.
Janis