comp.lang.ada
 help / color / mirror / Atom feed
* Example of being burned by something analogous to Use clause
@ 1986-08-10 13:20 harbaughs
  0 siblings, 0 replies; only message in thread
From: harbaughs @ 1986-08-10 13:20 UTC (permalink / 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
---------------------
------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-08-10 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-08-10 13:20 Example of being burned by something analogous to Use clause harbaughs

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