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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 10:07:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!spool0900.news.uu.net!reader0900.news.uu.net!not-for-mail Message-ID: <3D0F68F6.8030208@mail.com> Date: Tue, 18 Jun 2002 13:08:06 -0400 From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: The 1980 ACM Turing Award Lecture The Emperor's Old Clothes References: <3D0B813A.3040204@attbi.com> <3D0BEF81.8010704@mail.com> <3D0E4184.4070207@attbi.com> <3D0E4C9B.4030202@mail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Cache-Post-Path: master.nyc.kbcfp.com!unknown@mosquito.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1024420037 reader0.ash.ops.us.uu.net 8220 204.253.250.10 Xref: archiver1.google.com comp.lang.ada:26267 Date: 2002-06-18T13:08:06-04:00 List-Id: Stephen Leake wrote: > Sounds like a good partial plan. How do you handle the exceptions at > the top level? Log the error, attempt to reconnect to the service, start a fallback server if that fails, etc. > In this world, exceptions are used during the debug and test phases, > and sometimes the compiler checks are turned off for the final build, > because we've proven that they will never fail. Well, it's nice for you that you can stay in your little box, but not all software is so self-contained. There are *a lot* of situations where things work the vast majority of the time, but sometimes don't. Those are the cases where exception-based error handling shines.