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,25aa3c7e1b59f7b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-07 08:50:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: 7 Jan 2002 10:50:37 -0600 Organization: LJK Software Message-ID: References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> <5ee5b646.0201040829.18db8001@posting.google.com> <3C35E733.6030603@mail.com> <3C35FE2A.9020802@mail.com> <3C360E76.3070308@mail.com> <3C39C120.1060706@mail.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010422240 5381 192.135.80.34 (7 Jan 2002 16:50:40 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 7 Jan 2002 16:50:40 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:18611 Date: 2002-01-07T10:50:37-06:00 List-Id: In article <3C39C120.1060706@mail.com>, Hyman Rosen writes: > I can see only one *practical* benefit, which is that you can write > an overloaded version for your own data types which then has the same > semantics as the built-in version, i.e., both operands are always > evaluated. I haven't seen multiple answers otherwise, except for dubious > claims about optimization. What is dubious about optimizing: if my_function (arg1, arg2, arg3, arg4) and not suppression_mode then where suppression_mode is a boolean variable ?