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 01:17:20 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!enst.fr!beeblebrox!nobody From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: terminate applications Date: Thu, 24 Jul 2003 10:02:22 +0200 Organization: Avian Carrier & Friends Message-ID: <87adb4l5dd.fsf@inf.enst.fr> References: <8vITa.131261$ye4.92300@sccrnsc01> <8CITa.22321$0F4.22242@nwrdny02.gnilink.net> NNTP-Posting-Host: willow.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1059034352 29071 137.194.161.3 (24 Jul 2003 08:12:32 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 24 Jul 2003 08:12:32 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.5 (cauliflower, i386--freebsd) Cancel-Lock: sha1:Sir3pE2bucIAxJYeuOxABJD7cYg= X-Leafnode-NNTP-Posting-Host: 127.0.0.1 Xref: archiver1.google.com comp.lang.ada:40752 Date: 2003-07-24T10:02:22+02:00 List-Id: >>>>> "Hyman" == Hyman Rosen writes: Hyman> I have an idea! Every once in a while, Ada programming Hyman> environments should randomly change a character somewhere in a Hyman> source file. This will force the programmer to reread all the Hyman> code looking for the error, making him become more acquainted Hyman> with the program, and allowing hin to serendipitously find Hyman> lurking bugs. This has nothing to do with Ada, but with programming techniques in general, and I agree with you. I for example like to reread the code I write a few days later. I usually end up by adding some more comments (anything which does not look trivial or which raises the question "why didn't I do that another way?" causes the answer to be written in comments), and sometimes by renaming some entities or by rewriting some algorithms. Rereading one's own code improves it and makes future maintenance much easier. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam