Errors aren't that simple

William Thomas Wolfe, 2847 billwolf%hazel.cs.clemson.edu at hubcap.clemson.edu
Fri Mar 2 08:52:36 AEST 1990


>From ekrell at ulysses.att.com (Eduardo Krell):
> And what makes you think the network wouldn't have crashed if the software
> had been written in Ada (you seem to imply this)? Do you know the details
> of the cause of the crash?. 

   The crash apparently was caused by a programmer who used a "break"
   within an if (which itself was within a switch) for the purpose of
   exiting the if; the real result was to exit the switch instead.  If
   C provided a case statement rather than a switch..break system, then
   the error would most likely have been prevented.

   See the recent discussion of this topic in comp.lang.c.


   Bill Wolfe, wtwolfe at hubcap.clemson.edu



More information about the Comp.lang.c mailing list