comp.lang.ada
 help / color / mirror / Atom feed
From: harbaughs@EGLIN-VAX.ARPA
Subject: Example of being burned by something analogous to Use clause
Date: Sun, 10-Aug-86 09:20:00 EDT	[thread overview]
Date: Sun Aug 10 09:20:00 1986
Message-ID: <8608101425.AA05906@ucbvax.Berkeley.EDU> (raw)

From: trwrb!sdcrdcf!lwall@ucbvax.berkeley.edu
Have you guys actually been burned by USE clauses, or are you just afraid of
the dark?
----------
Yes, I (we) were burned just the other day. The situation
was when using a spreadsheet. I know it isn't Ada but I
believe the fundamental problem is with the human brain not
the particular language. If you don't accept that premise
then you probably want to skip over the example.
The spreadsheet used the string "total G&A" in two places
once in the salary distribution as a component of total
salaries and once again as you would expect for the
total g&a to date. When reading a printout of about
2 pages (we have a small company) the reader easily
overloads the meaning of "total G&A" in the context of
it's location but when reading the screen only one usage
appears at a time due to the small 24 line window. You
have probably guessed that the wrong "total G&A" was used
in a calculation. Fortunately the resultant answer failed
a reconciliation (the accountant's term for what we
call assertions). The lesson is to use fully qualified
names whether on spreadsheets or Ada programs. Hope you
found this interesting. I find it interesting
that Government auditors insist on
an organized system of assertion checking whereas most Government
software customers do not (to my knowledge).
regards, sam harbaugh
---------------------
------

                 reply	other threads:[~1986-08-10 13:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox