home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.software-eng
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!claird
- From: claird@NeoSoft.com (Cameron Laird)
- Subject: Exception-handling, as usual (was: Value of High Code Coverage Metrics in Testing - Request for Opinion)
- Organization: NeoSoft Communications Services -- (713) 684-5900
- Date: Thu, 17 Dec 1992 14:36:08 GMT
- Message-ID: <BzEr8A.7KG@NeoSoft.com>
- References: <1992Dec14.072812.13689@syacus.acus.oz.au> <1992Dec14.095803.15093@lmpsbbs.comm.mot.com> <johnr.724486714@pongo.kowari.cpsg.com.au>
- Lines: 32
-
- In article <johnr.724486714@pongo.kowari.cpsg.com.au> johnr@bohra.cpg.oz.au (John Reid) writes:
- .
- .
- .
- >I often have to persuade programmers to try data values that should never
- >be acceptable, but for commercial applications, your code should be robust
- >enough to deal with any values. If your input program, say, is accepting
- >data, and only numeric data can be used by the appliication, then you need
- >to know that if you are silly enough to enter "FRED" the program will
- >identify your deliberate mistake and tell you about it, rather than
- >blithely attempting to calculate the size of a concrete beam with a safe
- >working load of FRED tonnes (How heavy is Fred, anyway ??:-), assuming that
- >that was what your program was to do.
- .
- .
- .
- I'll bet you do "have to persuade programmers ..."
- Do any of our psychologically-sophisticated discus-
- sants have an explanation for this? In my experience,
- one of the toughest jobs a newcomer from an academic
- environment has is learning why, "But the user never
- should do that anyway," is not a conclusive argument.
-
- I'm not saying that the academic world should be a
- trade school, and I apologize a bit for my obses-
- siveness on the topic, but I look forward to a day
- when I don't *have* to be so compulsive ...
- --
-
- Cameron Laird
- claird@Neosoft.com (claird%Neosoft.com@uunet.uu.net) +1 713 267 7966
- claird@litwin.com (claird%litwin.com@uunet.uu.net) +1 713 996 8546
-