Article View: comp.lang.modula2
Article #2652Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
From: Alan E Brain
Date: Wed, 25 Oct 1995 08:38
Date: Wed, 25 Oct 1995 08:38
23 lines
2108 bytes
2108 bytes
> However, the idea that it is impossible to write code without an interactive > debugger is rubbish. Indeed, using the clean-room approach, it is quite > practical to write code under conditions where the devlopers do not test > the code they write AT ALL, let alone fiddle around with interactive > debuggers. > Now of course these things are by no means absolute, and given a good > interactive debugger, there are bugs for which it can be an invaluable > time saver. However, over-reliance on such tools can lead to a situation > where programmers are not as productive as they could be, and it is > worth listening to Hoare, because that is what he is warning about! There is one exception here; most real-time programs have to interact - communicate - with things outside the scope of the system. Now these are not bug-free. Without writing a zillion lines of code to exactly nail down what guff they are sending over the interface, an interactive debugger in the receiving system IS essential - to debug the C or whatever that is producing the unchecked Crap that you're trying to digest. A good rule is: if ever you're doing an unchecked conversion, implicit or explicit, you need a debugger. And Unchecked Conversion is nearly always essential in I/O ( and nearly always NOT needed otherwise).
Technical Details
Message-ID:
<46kt1q$885@fred.netinfo.com.au>Path:
arc1-ca.pugleaf.net!newshost.netinfo.com.au!usenetReferences:
<44hcri$rsm@theopolis.orl.mmc.com> <DFyAJF.KpC@research.att.com> <DG1yzI.8Ln@mv.mv.com> <45cj8d$red@ixnews3.ix.netcom.com> <DG8y40.BMz@world.std.com> <KANZE.95Oct11123925@slsvgqt.lts.sel.alcatel.de> <460ibq$b0j@reuters2.mitre.org> <cspt.1144.30867CCE@giraffe.ru.ac.za> <4662pc$kmi@ubszh.fh.zh.ubs.com> <dewar.814190504@schonberg>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newshost.netinfo.com.au!usenet From: Alan E Brain <aebrain@dynamite.com.au> Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) Date: 25 Oct 1995 08:38:18 GMT Organization: Netinfo Pty Ltd - Canberra Australia Message-ID: <46kt1q$885@fred.netinfo.com.au> References: <44hcri$rsm@theopolis.orl.mmc.com> <DFyAJF.KpC@research.att.com> <DG1yzI.8Ln@mv.mv.com> <45cj8d$red@ixnews3.ix.netcom.com> <DG8y40.BMz@world.std.com> <KANZE.95Oct11123925@slsvgqt.lts.sel.alcatel.de> <460ibq$b0j@reuters2.mitre.org> <cspt.1144.30867CCE@giraffe.ru.ac.za> <4662pc$kmi@ubszh.fh.zh.ubs.com> <dewar.814190504@schonberg> NNTP-Posting-Host: dialup2.dynamite.com.au