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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,715875e575230543 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 23:37:15 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!adsl-213-200-246-247.cybernet.CH!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: Thought this was funny Date: Wed, 22 Oct 2003 08:36:04 +0200 Organization: JeLlyFish software Message-ID: References: Reply-To: v.hoefler@acm.org NNTP-Posting-Host: adsl-213-200-246-247.cybernet.ch (213.200.246.247) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 1066804634 30042328 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:1370 Date: 2003-10-22T08:36:04+02:00 List-Id: Xenos wrote: >Reviewing some old code we are converting from Ada 83 to 95, I came = across >this: > >case is > when true =3D> > > > when false =3D> > > >end case; Well, perhaps the programmer expected that the code might change to fuzzy booleans later... :) I've seen worse things: |if =3D True then | Boolean_Variable :=3D True; |else | Boolean_Variable :=3D False; |end if; (Well, the original was written in Pascal, but that doesn't matter for the demonstration, I guess)... Can someone here see any reason, why someone should not simply write |Boolean_Variable :=3D ; instead? The " =3D True" construct alone... *sigh* Vinzent.