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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2746dae4f161c04e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-21 13:10:30 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!shale.ftech.net!news.ftech.net!newspeer.clara.net!news.clara.net!newsfeed.freenet.de!newsfeed.easynews.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Understanding Booleans Date: Wed, 21 Nov 2001 22:33:57 +0100 Organization: Enyo's not your organization Message-ID: <87hernerlm.fsf@deneb.enyo.de> References: <20011121.053507.496987743.3460@web.de> <3BFBDF14.4B83708B@boeing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cancel-Lock: sha1:j0Z6Gg9oBje793mUa7O0pZwy/9o= Xref: archiver1.google.com comp.lang.ada:16817 Date: 2001-11-21T22:33:57+01:00 List-Id: Stephen Leake writes: >> > if Get_Active (Object) then >> >> Yes I know, but for some reason I like to write it like above instead. Hmm. > > One idea is to make the function name a "predicate", like Is_Active, > instead of Get_Active. That makes: > > if Is_Active (Object) then > > more readable. Is_Active exists, too, but it's use has been deprecated.