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,88858d66e427dbcb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-10 03:18:12 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Short circuit boolean evaluation Date: Mon, 10 Nov 2003 11:18:11 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <87f5a614.0311051528.30450c7a@posting.google.com> <87f5a614.0311061144.360b3325@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1068463091 12106 134.91.1.34 (10 Nov 2003 11:18:11 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Mon, 10 Nov 2003 11:18:11 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:2290 Date: 2003-11-10T11:18:11+00:00 List-Id: svaa wrote: : "Steve" wrote in message news:... :> I consider it unimaginable to make such a fundamental change to a language :> in order to save a few keystrokes when more than a few billion lines of :> source code might be effected. : : I wouldn't call it a few keystrokes, I use it in every condition. Hm. That indicates that you are writing tons of complicated conditionals? Without having seen the particular programming problem, might it not be worth considering a different aproach to soving the programming problem? Even if programmer productivity could be increased by a fraction of n.m more lines of code, say, by making short circuit evaluation implicit, what syntax do you propose for full evaluation? (I guess n is 0 and m is close to 0, but not that n is 0 and then m is close to 0 ;-) Georg