🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2607

Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)

#2607
From: Robert A Duff
Date: Wed, 11 Oct 1995 16:15
19 lines
1457 bytes
In article <45gghq$7m4@lastactionhero.rs.itd.umich.edu>,
Graham <pbgraham@umich.edu> wrote:
>It doesn't do the astronauts much good, but mission control can use
>this message to debug the program after the shuttle has crashed.
>Otherwise, they can't tell what went wrong.  In this sense a run-time
>check is like that orange box full of recording instruments on an
>airplane that does nothing useful to help the pilot fly and only adds
>weight to the plane but helps investigators determine the cause of a
>crash.

Yes, that's a much better analogy.

And when somebody designs an airplane, I'm sure they analyze the
benefits of more orange-box-stuff, against the costs.  Likewise, people
who design computer programs should weigh the benefits of leaving checks
on against the run-time costs, rather than taking a fanatical attitude
that "all checks should always be on under all cirumstances".

- Bob
Technical Details
Message-ID: <DGAL6L.1MM@world.std.com>
Path: arc1-ca.pugleaf.net!in1.uu.net!world!bobduff
References: <44hcri$rsm@theopolis.orl.mmc.com> <45cj8d$red@ixnews3.ix.netcom.com> <dewar.813336138@schonberg> <45gghq$7m4@lastactionhero.rs.itd.umich.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada
Path: arc1-ca.pugleaf.net!in1.uu.net!world!bobduff
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
Message-ID: <DGAL6L.1MM@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <44hcri$rsm@theopolis.orl.mmc.com> <45cj8d$red@ixnews3.ix.netcom.com> <dewar.813336138@schonberg> <45gghq$7m4@lastactionhero.rs.itd.umich.edu>
Date: Wed, 11 Oct 1995 16:15:57 GMT