From: bill@cafe.net (Kaz Kylheku)
Subject: Re: [++] Tight coding
Date: 1998/03/02 [thread overview]
Message-ID: <mMBK.1705$Jb.2659404@brie.direct.ca> (raw)
In-Reply-To: 6dcdvp$6oa$1@mainsrv.main.nc.us
In article <6dcdvp$6oa$1@mainsrv.main.nc.us>, <scott@softbase.com> wrote:
>The best refutation of proofs for programs is in Peter van der Linden's
>Deep C Secrets. He shows a page from such a proof, which is
>incomprehensible to anyone other than a theoretical mathematician, and
>then describes a Usenet flame war about an error in a proof.
>
>There are not enough programmers to go around, and requiring
>mathematicians to prove programs on top of them will never work. The
>only hope we have is "black box" object programming, where an object is
>just a plug-in component. It will either work reliably, or can be
>replaced if it does not.
But over time, you could create libraries of formally proven black
boxes. The time required to do the proof is worthwhile if countless
people can benefit from it.
I don't believe your claim that such proofs are comprehensible only to
theoretical mathematitican. Anyone with a background in computer science
should be able to follow such a proof. The proofs usually involve simple
predicate logic, and simple algebra.
There exist excellent textbooks on formal verification which can provide a
refresher course. Knowing the techniques can help you write more solid code
even in situations where you don't apply the techniques, because they
give you a framework for reasoning about program logic.
next prev parent reply other threads:[~1998-03-02 5:00 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-23 5:00 Wildfire and NT Robert Harley
1998-02-24 5:00 ` brianh
1998-02-24 5:00 ` Bill Moyer
1998-02-25 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Epiphanies (was: Wildfire and NT) Carlie Coats
1998-02-25 5:00 ` Wildfire and NT John Hascall
1998-02-25 5:00 ` Rob Rodgers
1998-02-24 5:00 ` David Hinds
1998-02-25 5:00 ` Del Cecchi
1998-02-25 5:00 ` brianh
1998-02-24 5:00 ` Sean Burke
1998-02-25 5:00 ` Mike Albaugh
1998-02-25 5:00 ` [++] Tight coding (Was: Re: Wildfire and NT) Terje Mathisen
1998-02-28 5:00 ` Piercarlo Grandi
1998-03-01 5:00 ` [++] Tight coding Bill Moyer
1998-03-01 5:00 ` Ruud Bruijnesteijn
1998-03-01 5:00 ` scott
1998-03-02 5:00 ` Kaz Kylheku [this message]
1998-03-02 5:00 ` Martin Tom Brown
1998-03-02 5:00 ` Terry Moore
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Pete Becker
1998-03-03 5:00 ` Ruud Bruijnesteijn
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Terry Moore
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Ruud Bruijnesteijn
1998-03-01 5:00 ` Larry Kilgallen
1998-03-01 5:00 ` [++] Tight coding (comp.sys.dec-only thread) Bill Moyer
1998-03-02 5:00 ` [++] Tight coding Peter Moylan
1998-03-02 5:00 ` Scott Fluhrer
1998-03-02 5:00 ` Lawrence Kirby
1998-03-02 5:00 ` Peter Moylan
1998-03-02 5:00 ` Ketil Z Malde
1998-03-04 5:00 ` Lyn A Headley
1998-03-02 5:00 ` Kaz Kylheku
1998-03-03 5:00 ` Lawrence Kirby
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Martin Harvey
1998-03-03 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` Wildfire and NT Maynard Handley
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Bernd Paysan
1998-02-25 5:00 ` brianh
1998-02-26 5:00 ` Doug
1998-02-26 5:00 ` Jeffrey S. Dutky
1998-02-26 5:00 ` Bernd Paysan
1998-02-27 5:00 ` brianh
1998-03-01 5:00 ` Ketil Z Malde
1998-02-27 5:00 ` Paul Kahler
1998-03-02 5:00 ` Joel Gallun
1998-03-02 5:00 ` Przemek Klosowski
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox