From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bda36258b2fe9834 X-Google-Thread: 1094ba,3354bcb01bfd8111 X-Google-Attributes: gid103376,gid1094ba,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?ISO-8859-1?Q?Jan_Vorbr=FCggen?= Newsgroups: comp.lang.ada,comp.lang.fortran Subject: Re: Shortcut logicals Date: Tue, 01 Feb 2005 16:35:22 +0100 Organization: MediaSec Technologies GmbH Message-ID: <369ltrF4ulegaU1@individual.net> References: <1107259211.c5d05dcbf8695b73b67b208313002b2b@teranews> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net T5x/NDSanOzsDzLt/wA6fQVLcBAvvNjv2i3JAH7fESmCAU70az User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:8115 comp.lang.fortran:10063 Date: 2005-02-01T16:35:22+01:00 List-Id: > In maths, folks usually presume that "and" has higher > precedence than "or". I'm pretty happy with the Ada rule, though. In > general, I don't think programming languages should use precedence and > associativity rules beyond the ones folks know by age 9. Many people > disagree with that, though -- they think "extra" parens cause too much > clutter, and make the code hard to read. I'm with you all the way. Anything to make the text clear by itself, without reliance on external information (in this case, operator precedence rules). It also forces the programmer to think about what he is writing, and not go by the seats of his pants, as it were. Jan