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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7d3cb5920e882220 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.arglkargh.de!noris.net!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Exceptions Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <5947aa62-2547-4fbb-bc46-1111b4a0dcc9@x69g2000hsx.googlegroups.com> <475c688f$0$17524$9b4e6d93@newsspool4.arcor-online.net> <4dae26fe-0c8a-46e1-9a33-43c18cf757ae@i3g2000hsf.googlegroups.com> <9f16235c-260a-460b-873c-2183c154cc0c@e25g2000prg.googlegroups.com> Date: Fri, 14 Dec 2007 20:32:11 +0100 Message-ID: <91dko1vwkqbz.81hvo0znkxco.dlg@40tude.net> NNTP-Posting-Date: 14 Dec 2007 20:32:11 CET NNTP-Posting-Host: 3ca6aecf.newsspool1.arcor-online.net X-Trace: DXC=[AI_\R3nSjePXlQ;h]GTMdic==]BZ:afn4Fo<]lROoRa4nDHegD_]ReBi@ob`:i6ElDNcfSJ;bb[eIRnRBaCd On Fri, 14 Dec 2007 12:29:01 -0500, Robert A Duff wrote: > Ray Blaak writes: > >> Long experience with Java code leads me to believe they cause more problems >> then they solve, simply due to the fact that the majority of programmers are >> coding at a junior or "naive" level. >> >> So, when the compiler demands an exception handler, then by golly they >> provide one -- one that simply swallows the exception with a log of >> the stack trace. > > This is what I don't get. I know there are lots of not-so-good > programmers around, but how hard could it be to teach that "junior" > programmer how to do this particular thing right? It's not "rocket > science". ;-) And if the programmer can't learn this much, maybe > they don't have much aptitude for programming in the first place. The actual problem is exceptions misused for debugging. A "senior" programmer would compensate this wrong design, while a "junior" one would just add more mess. For debugging there were enough to have some sort of "stop at once" statement (with breaking into the debugger.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de