home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!max.fiu.edu!serss0!feathers
- From: feathers@serss0 (Michael Feathers)
- Subject: Re: Give me safe C++
- Organization: Florida International University, Miami
- Date: Sat, 26 Dec 1992 13:42:41 GMT
- Message-ID: <BzvCr5.G6E@fiu.edu>
- References: <1992Dec18.134937.14313@bony1.bony.com> <BzICnn.LDx@fiu.edu> <1992Dec21.141735.20949@bcrka451.bnr.ca>
- Sender: news@fiu.edu (Usenet Administrator)
- Lines: 41
-
- In article <1992Dec21.141735.20949@bcrka451.bnr.ca> sjm@bcrki65.bnr.ca (Stuart MacMartin) writes:
- >In article <BzICnn.LDx@fiu.edu> feathers@serss0 (Michael Feathers) writes:
- >>My conclusion was that run time checking was being used as a crutch.
- >
- >Be careful what you say. I have heard managers object to debuggers because
- >the people used them as a crutch. While I agree with you that it is good
- >to code properly in the first place by habit, I disagree with your implied
- >reluctance to use the tools at your disposal. There are those who object
- >to code walkthroughs done by computer (i.e. using the debugger to step
- >through code to make sure that it does what it is supposed to do), and I
- >suppose there are still those who insist on checking their code for syntax
- >errors before running the compiler. Are you sure that the runtime checking
- >was being used as a crutch and not a development aid?
-
-
- Actually, I hope that what I said was not taken that way. I was implying
- that students should not have those tools too early or else "crutch habits"
- may develop.
-
- To be truthful, I use a debugger at times but I still am not comfortable with
- them. I spent too much time desk checking my code for semantics a long time
- ago. I get anxious when I feel that I don't fully understand my code.
- Thankfully, I think that anxiety helps me.
-
- I think that desk checking code for syntax is kind of ridiculous though.
- To me, a compiler with good warnings and errors is the best development
- tool available.
-
- I've heard from a friend about the "clean room" approach to developing
- software in which compiles are minimized in order to make sure that humans
- are actively involved in the process.
-
- I'm not sure I subscribe to that view, but I definitely think that when
- students are learning how to design software, they are learning more than that
- they are learning how to think about programs and design them in such a way
- as to understand them. I don't think that this kind of learning can be
- accomplished unless students learn to overcome adversity by good habits in
- the beginning rather than tool reliance.
-
- Michael
-
-