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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cccf6ef6149fdaa X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: Operators -> unit analysis Date: 2000/01/07 Message-ID: <38764aac_2@news1.prserv.net>#1/1 X-Deja-AN: 569692960 Content-transfer-encoding: 7bit References: <38620350.48F8FC08@gecm.com> <83u8l0$5i5$1@nnrp1.deja.com> <84rd2f$snm$1@nntp3.atl.mindspring.net> <84thof$9r3$1@nntp4.atl.mindspring.net> <387383D0.4EA02E95@earthlink.net> <850jiq$mad$1@nnrp1.deja.com> <3874D0BE.82F04763@Raytheon.com> <853lkg$tgj$1@nnrp1.deja.com> Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@prserv.net X-Trace: 7 Jan 2000 20:21:00 GMT, 129.37.62.69 Organization: Global Network Services - Remote Access Mail & News Services Mime-version: 1.0 Newsgroups: comp.lang.ada Date: 2000-01-07T00:00:00+00:00 List-Id: In article , Robert A Duff wrote: > I would say: If it's not a precedence rule I learned in grade school, > then it shouldn't be in a programming language (whether it was put there > by the language designer or by some "clever" programmer). Oh dear, I'll probably get horribly flamed for saying so, but I disagree with the Ada(83) decision to require that "and" and "or" operators appearing within the same statement also require parenthesis. I think that, as in C, "and" should be given a higher precedence than "or", analogous to how "*" is given a higher precedence than "+". -- Evolution is as well documented as any phenomenon in science, as strongly as the earth's revolution around the sun rather than vice versa. Stephen Jay Gould, Time, 23 Aug 1999