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, MSGID_RANDY 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 Dewar Subject: Re: Operators -> unit analysis Date: 2000/01/08 Message-ID: <856hjt$v1i$1@nnrp1.deja.com>#1/1 X-Deja-AN: 569707229 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> X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Jan 08 05:23:18 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-01-08T00:00:00+00:00 List-Id: 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. Sent via Deja.com http://www.deja.com/ Before you buy.