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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-24 07:03:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.algonet.se!algonet!news-peer-europe.sprintlink.net!news.stupi.se!newsfeed1.ulv.nextra.no!nextra.com!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: is exception when others => null; smart? Date: Thu, 24 Oct 2002 14:03:15 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1035468195 21318 129.241.83.78 (24 Oct 2002 14:03:15 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 24 Oct 2002 14:03:15 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:30094 Date: 2002-10-24T14:03:15+00:00 List-Id: Hi As Emacs (ugg!) got installed when I had to reinstall Debian due to a hard disc crash, I thought I'd have a look at the ada-mode before uninstalling Emacs. Now I'm in the process of making a ada-mode for vim (currently called: am - Ada in the Morning) which will have much of the functionality of the ada-mode for Emacs. However there is one thing with ada-mode which I don't know is what I want: If you choose to generate a body for a procedure or a function then you get this: procedue Proc is begin exception when others => null; end Proc; My question is: Is this smart? I mean won't you then automatically mask all the potential problems you might get at run-time so that you won't see errors in the code during testing? I can see that it might also have advantages, but before I implement this I would like to hear what you think. Thanks in advance. Preben -- Ada95 makes your code less cryptic.