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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, LOTS_OF_MONEY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf677878aa77e0d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 08:51:43 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: an infinate loop Date: Mon, 16 Jul 2001 11:19:10 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9iv0lf$3ej$1@nh.pace.co.uk> References: <3B4F2962.25BB60FF@boeing.com> <3B50D895.EB3C192@san.rr.com> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 995296751 3539 136.170.200.133 (16 Jul 2001 15:19:11 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 16 Jul 2001 15:19:11 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:9998 Date: 2001-07-16T15:19:11+00:00 List-Id: IMHO, the "negative logic" is not confusing until you start mixing up more than one condition. Saying "not Daytime" is pretty easily understood as equivalent to "Nighttime", but when you start with things like "not Daytime and not Full_Moon or not Month_With_An_R_In_It", it is probably better to avoid the negative logic and state the condition positively. In that sense "not End_Of_File" is fine with me and pretty clearly indicates when I should stop. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Ted Dennison" wrote in message news:cWB47.20903$Kf3.261918@www.newsranger.com... > Yeah, you could make a special function to do it. But "not" is probably just as > clear as doing that. >