From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-09 08:31:36 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!iad-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Compaq kills Alpha Message-ID: References: <3B37351D.5080503@cli.de> <4495ef1f.0106281109.4b460a70@posting.google.com> <8PS_6.265783$p33.5339568@news1.sttls1.wa.home.com> <9hhtur$1oj9$2@info.cs.uofs.edu> <9hi2q1$hbs@augusta.math.psu.edu> <9hj3ch$qmi$1@pyrite.mv.net> <_Ay07.62$G_1.10702@newsread2.prod.itd.earthlink.net> <3B462723.8938B09B@peoplepc.com> <3B469F39.618E0ADE@igs.net> <3B46C8C7.E2AFF889@peoplepc.com> <3B471A6C.EE8715F5@igs.net> <$KhLsMn0xNNj@eisner.encompasserve.org> <3Organization: LJK Software Date: 9 Jul 2001 11:22:55 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 994692179 216.44.122.34 (Mon, 09 Jul 2001 15:22:59 GMT) NNTP-Posting-Date: Mon, 09 Jul 2001 15:22:59 GMT Organization: Verio Xref: archiver1.google.com comp.sys.dec:5426 comp.unix.tru64:3263 comp.arch:13370 In article <3B49AC71.314FE47F@mikron.de>, Bernd Paysan writes: > Larry Kilgallen wrote: >> Along with Ada, unless you are extremely unlucky, comes a culture >> of software engineering. > > The Ada culture is "Dijkstraist", i.e. more relying on proofs and > inspection. The second culture is "Knuthian", which means also doing > tests ("Beware of this program: I prooved it correct, but didn't test > it"). The third culture is that of Forth programmers, it's twofold. > First, it means to simplify as much as possible, because simpler > programs have fewer bugs. Then, it is to test - interactively, unit > test, whatever you want; a good strategy for highly reliable code is to > put the unit tests right next to the source, so that compiling will > always result in running the unit test. This means that when you do the > testing part of the Knuthian culture right, you don't need much of the > proof part anymore. > > Baseline: The Forth way and the Ada way of doing things have very little > in common. Though trusting entirely on inspection and "the compiler will > tell us all the other bugs" won't lead to reliable software, IMHO. The > worst culture is the mainstream culture in between, which neither does > inspection and proofs, nor strict testing. Certainly testing is required for any software development. Few organizations are willing to invest the amount of time required for good testing (boundary and exceptional conditions, in particular). Brute force testing is _much_ more expensive than testing carefully designed for each module. Ideally, tests should be written by someone other than the author of the code, since the author tends to think in terms of cases that were anticipated in the writing of the code, whereas it is also important to test with cases that were _not_ anticipated in the writing of the code (what if the data file is empty, etc.).