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: Robert A Duff Subject: Re: Operators -> unit analysis Date: 2000/01/08 Message-ID: #1/1 X-Deja-AN: 570007181 Sender: bobduff@world.std.com (Robert A Duff) 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> <38764aac_2@news1.prserv.net> <856hjt$v1i$1@nnrp1.deja.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-01-08T00:00:00+00:00 List-Id: Robert, please be careful with your quotes. I didn't say the "Oh dear..." -- Matt did. - Bob Robert Dewar writes: > In article <38764aac_2@news1.prserv.net>, > "Matthew Heaney" wrote: > > In article , Robert A Duff > > wrote: > > > > 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. > > > Can you really argue that depending on this makes things easier > to read, I don't think so! And it is quite error prone. It is > all too easy to write > > if asdfasdf > oiuyoiuyoiuy or asdfadsfadsf < oiuoiuyoiuyoiuy > and not junk > > and be confused by the indentation. To me this was one of the > sound decisions in Ada. The cost to the writer, extra parens. > The benefit to the writer, avoiding bugs like the above. The > benefit to the reader is clear. - Bob