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,1e4bb63e08046e1a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-25 08:06:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ulv.nextra.no!nextra.com!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: In case statment? (was Re: is exception when others => null; smart?) Date: Fri, 25 Oct 2002 15:06:37 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3DB8204B.2080804@attbi.com> <3DB89B83.2060609@acm.org> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1035558397 6085 129.241.83.78 (25 Oct 2002 15:06:37 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 25 Oct 2002 15:06:37 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:30134 Date: 2002-10-25T15:06:37+00:00 List-Id: Robert A Duff wrote: > > "When others" is usually a very bad idea, and editors should not > encourage it. One of the great benefits of Ada is the full-coverage > checking you get (at compile time!) on case statements and aggregates. > (Compared to other languages which default to "when others => null;" or > use run-time checking.) Good point. Thanks! OK, I'll continue implementing now :-) Preben -- Preben Randhol ---------------- http://www.pvv.org/~randhol/ -- Just vim it.