🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2611

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

#2611
From: Kent Paul Dolan
Date: Thu, 12 Oct 1995 17:58
41 lines
2807 bytes
In article <45ereq$t6o@regina.seh.codem.com>, seh@seh.codem.com (Stephen
E. Halpin) wrote:

> Getting back to reality, Ive seen very complex systems built with no error
> detection capability, and when a problem occurs with a frequency of once a
> week, its a nightmare to debug.  If the application traps the error, and
> leaves behind a fairly detailed image of its state when the error occured,
> you can save literally weeks of debug time.

Amen.  My last job I was given 5.5 megabytes source code of mixed language
software to maintain solo.  It was a tossed-together mess, which is
another story.  What is important is that it was run by remote, computer
naive users, and crashed fairly often due to both unfound bugs and
unbulletproofed input.

The _only_ thing that made problem resolution possible was that all the
code was built with all possible checks turned on and all error reporting
turned on, including source code line numbers embedded in the running
code, so that the users could copy down cryptic, to them, error messages,
report them to me, and give me somewhere to start looking for problems.

In any _sufficiently_ large system, run time constraint checks and error
reporting should be considered mandatory, even in production systems.  Not
all large systems kill the operators as one symptom of bugs.  For those
that don't, fast problem resolution is almost always more important to the
users than is fastest possible execution.

With most computers sitting on desktops, most software is most of the time
sitting idle waiting for the next keypress or mouse click.  In that
environment, execution speed is rarely important within a factor of four
or so.

One of those wonderful questions: in DoD applications, is the Ada source
code shipped with the executables, for field repairs when the
Constraint_Error exception occurs?  <grin>

-- 
Xanthian.                  | "..want the consequences of what you want.." | 
Kent, the man from xanth.  |        Neil A. Maxwell, LDS Apostle          |
Kent Paul Dolan            ------------------------------------------------
xanthian@{well,qualcomm}.com     Jobhunting?  Check www.qualcomm.com!
Technical Details
Message-ID: <xanthian-1210950958100001@kdolan-mac.qualcomm.com>
Path: arc1-ca.pugleaf.net!kdolan-mac.qualcomm.com!user
References: <DG1yzI.8Ln@mv.mv.com> <45cj8d$red@ixnews3.ix.netcom.com> <DG8y40.BMz@world.std.com> <45ereq$t6o@regina.seh.codem.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!kdolan-mac.qualcomm.com!user
From: xanthian@qualcomm.com (Kent Paul Dolan)
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada
Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
Date: Thu, 12 Oct 1995 09:58:10 -0800
Organization: Birthright Party "The birthright of humankind is the stars!"
Message-ID: <xanthian-1210950958100001@kdolan-mac.qualcomm.com>
References: <DG1yzI.8Ln@mv.mv.com> <45cj8d$red@ixnews3.ix.netcom.com> <DG8y40.BMz@world.std.com> <45ereq$t6o@regina.seh.codem.com>
NNTP-Posting-Host: kdolan-mac.qualcomm.com