Article View: comp.lang.modula2
Article #2648Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
From: Dan Pop
Date: Mon, 23 Oct 1995 17:29
Date: Mon, 23 Oct 1995 17:29
26 lines
2171 bytes
2171 bytes
In <46g46d$aeg@fsuj01.rz.uni-jena.de> vkk@rz.uni-jena.de (Karl Kleine) writes: >The point I want to make: I went back from industry to teaching last year, >and in my introductory programming courses (based onm Modula-2) I do NOT >introduce a debugger. I insist on CONSTRUCTING programs, not fiddling until >it works. The debugger is sketched and demonstrated towards the end of term >with small groups during the practical hands-on sessions. As Robert pointed >out above, I use the debugger to get a traceback, maybe look at a variable >value, but then it's reading and understanding the source code again. I definitely agree with this point (even if I'm a C programmer :-) but not all of us are lucky enough to have to debug _only_ code written by ourselves. You get a large program (>100,000 lines) developed by someone who left long ago or by a company which no longer exists and which is usually uncommented and are asked to fix a bug ASAP. Try to solve such a problem without making extensive use of a debugger. There is a place for a debugger in any programmer's toolbox. And, like any other tool, it can be used or misused. Dan -- Dan Pop CERN, CN Division Email: Dan.Pop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Technical Details
Message-ID:
<danpop.814469398@rscernix>Path:
arc1-ca.pugleaf.net!CERN.ch!rscernix!danpopReferences:
<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> <46g46d$aeg@fsuj01.rz.uni-jena.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada Path: arc1-ca.pugleaf.net!CERN.ch!rscernix!danpop From: Dan.Pop@mail.cern.ch (Dan Pop) Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) X-Nntp-Posting-Host: ues5.cern.ch Message-ID: <danpop.814469398@rscernix> Sender: news@news.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics X-Newsreader: NN version 6.5.0 #7 (NOV) 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> <46g46d$aeg@fsuj01.rz.uni-jena.de> Date: Mon, 23 Oct 1995 17:29:58 GMT