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,8893269a4640c798 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-24 12:52:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Thu, 24 Jul 2003 14:54:13 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <8vITa.131261$ye4.92300@sccrnsc01> <8CITa.22321$0F4.22242@nwrdny02.gnilink.net> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:40773 Date: 2003-07-24T14:54:13-05:00 List-Id: "Hyman Rosen" wrote in message news:8CITa.22321$0F4.22242@nwrdny02.gnilink.net... > I have an idea! Every once in a while, Ada programming environments should > randomly change a character somewhere in a source file. This will force the > programmer to reread all the code looking for the error, making him become > more acquainted with the program, and allowing hin to serendipitously find > lurking bugs. Very early PCs that we worked on tended to do that periodically. But it wasn't very effective on forcing re-reading of Ada code, because most single character changes cause a compile-time error (or are in comments, where they don't matter anyway). But the general sentiment is correct: re-reading old code often finds bugs. That happens nearly every time I go into our compiler looking for a bug; I often end up fixing three of four bugs before I finally find the one I was originally looking for. Randy.