comp.lang.ada
 help / color / mirror / Atom feed
From: koehnema@ENUXHA.EAS.ASU.EDU (Harry Koehnemann)
Subject: Re: "Ada and C++", from comp.software-eng
Date: 9 May 91 16:19:11 GMT	[thread overview]
Message-ID: <9105091619.AA11844@enuxha.eas.asu.edu> (raw)
In-Reply-To: 1991May9.061021.1941@netcom.COM

In article <1991May9.061021.1941@netcom.COM> jls@netcom.COM (Jim Showalter) writes:
>>the bug that brought down the switch which "took out the whole east
>>coast" was related to a C 'switch' statement that was missing a
>>'break'.
>
>If you leave out 'break', that's exactly what happens!

I heard (Software Engineering Notes) that the error was not a forgotten
break, but thatthe programmer was trying to exit the middle  of an if
statement by using a break (the fool he was..).  That statement (break)
does not work in that manner and it terminated the switch instead.
They didn't forget a break, they used it inappropriately.

For what its worth....

  reply	other threads:[~1991-05-09 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-04-30 13:56 "Ada and C++", from comp.software-eng abdlm
1991-04-30 16:53 ` Matthias Ulrich Neeracher
1991-05-02 15:49 ` barriost
1991-05-09  6:10   ` Jim Showalter
1991-05-09 16:19     ` Harry Koehnemann [this message]
1991-05-06 21:56 ` Ronald T. Crocker
  -- strict thread matches above, loose matches on Subject: below --
1991-04-25 18:16 Richard Pattis
1991-04-26 20:28 ` Jim Showalter
1991-04-29 19:32   ` Erik Naggum
1991-05-09  6:01     ` Jim Showalter
1991-05-11 21:40     ` Erik Naggum
replies disabled

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