Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!kuhub.cc.ukans.edu!caen!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ENUXHA.EAS.ASU.EDU!koehnema From: koehnema@ENUXHA.EAS.ASU.EDU (Harry Koehnemann) Newsgroups: comp.software-eng Subject: Re: bridge building (was Re: Documenting OO Systems) Message-ID: <9105071737.AA18386@enuxha.eas.asu.edu> Date: 7 May 91 17:37:58 GMT References: <1259@grapevine.EBay.Sun.COM> <9105012313.AA23259@enuxha.eas.asu.edu> <33846@mimsy.umd.edu> <9105020234.AA01202@enuxha.eas.asu.edu> <19167@crdgw1.crd.ge.com> <9105051741.AA27297@enuxha.eas.asu.edu> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: koehnema@enuxha.eas.asu.edu (Harry Koehnemann) Distribution: na Organization: Arizona State University Lines: 30 [Talking about AT&T bug - using a break to transfer out of an if stmt] >All these are good things that Ada does, but they don't apply to the >specific bug in question. The bug wasn't 'stupid' in that one could >very easily really want the program to have control flow as specified. Bite your tongue :). You *want* to transfer control out of the middle of a block? Remember single entry/exit? Really, if that had been flight system software and had caused a casualty, do you think a victims lawyer would be glad or disappointed to find it was caused by that type of an error? i.e. One that they could easily show does not follow good practices. When you think about it, AT&T got off rather cheap. >You're wrong, I am not defending C, I am against the following logic: [middle logic deleted] >Conclusion: the bug would have been prevented by using Ada. (doesn't follow) But I have never said 'prevent' as you've been saying. Hell, nothing prevents errors. Can we do anything to prevent errors? No, we can simple decrease the likelyhood that they exists. All this time I've been saying 'less likely' and since 'exit' is not an integral part of Ada as 'break' is with C (you won't use it if you don't need it and you can't use it if you don't know it's there, or better yet *forbidden*), "that error might have been less likely in a different language". --orig stmt I'll talk to you by Email next time - I'm sure everones bored of this by now... Harry Koehnemann koehnema@enuxha.eas.asu.edu