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,92c39a3be0a7f17d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-07 08:04:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Future with Ada Date: Thu, 7 Mar 2002 16:04:04 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3C7B0B13.3080003@worldnet.att.net> <3C7D1C89.2000803@home.com> <3C7E7CAD.7070504@mail.com> <3C7FB9D2.D9C6E055@boeing.com> <3C81DF1F.9000503@mail.com> <3C83A112.6080302@mail.com> <3C84223C.A356F466@adaworks.com> <3C853A04.34826F39@despammed.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1015517044 3772 134.91.4.34 (7 Mar 2002 16:04:04 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 7 Mar 2002 16:04:04 +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:20904 Date: 2002-03-07T16:04:04+00:00 List-Id: Marin David Condic wrote: : Sometimes a big case or if is a perfectly : good way of reflecting what's going on. (Think of lots of "when" or "elsif" : parts, for example.) Things should be made as simple as possible, but no : simpler. yes, sometimes, highest speed dfa in inner loops, say?. my point was that this need not be reflected in "big" if, in a sense. With inlined subprograms, tag magic, ... you can do a lot to reduce the "textual length" of an if or case statement, without much or any loss in performance. At the expense of increased expressiveness, sometimes :-) I'm saying this remembering a 500 lines program consisting of one procedure, nested ifs and some state variables named state1 etc, no comment, no layout, produced by a human. Even at only 500 lines this wasn't exactely a pleasure, and it turned out that the program worked by accident. - georg