Deutsch   English   Français   Italiano  
<v3cp59$29ass$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.awk
Subject: Re: Operator precedence
Date: Fri, 31 May 2024 17:08:23 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <v3cp59$29ass$1@dont-email.me>
References: <v2nium$1pl8f$1@dont-email.me> <20240523092856.646@kylheku.com>
 <87sey8movv.fsf@axel-reichert.de> <v2okuh$1vrvh$1@dont-email.me>
 <v2ouo9$2547f$1@dont-email.me> <20240523210755.307@kylheku.com>
 <87zfsektvi.fsf@axel-reichert.de> <v2tlbf$320cq$1@dont-email.me>
 <v2tn6n$32bqt$1@dont-email.me> <20240525152319.662@kylheku.com>
 <v3914l$1i5vg$1@dont-email.me> <87a5k7k8qz.fsf@axel-reichert.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 31 May 2024 17:08:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dbc2c78c081b4b48df993179cfbd9703";
	logging-data="2403228"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/01LZV+PvZkP89jrnGnVmd"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:CW9K/oIjimOAE+hCXqMO/MUqu4M=
In-Reply-To: <87a5k7k8qz.fsf@axel-reichert.de>
X-Enigmail-Draft-Status: N1110
Bytes: 2140

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