in reply to Are debugging skills atrophying?
In any event, I think the most important thing I learned in my 28 years of programming is "debugging is hard". So I spend nearly every moment of my time while I'm programming thinking about how not to put bugs in in the first place, or at least have a pretty good idea what I just broke on the last edit cycle.
My methodology is basically:
Another element is "understand what you type". You should be able to have a complete mental model of every step of what you type. Yeah, it sounds so basic, but I'm amazed when I watch my students copy random lines of code into their program and then say "it didn't work". When I ask them what a particular line does, they say "I don't know". Gosh, how do they expect it to work then!?
So maybe the combined rule is "never type faster than you can understand". {grin}
-- Randal L. Schwartz, Perl hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Are debugging skills atrophying?
by arashi (Priest) on Apr 27, 2001 at 22:04 UTC | |
by merlyn (Sage) on Apr 27, 2001 at 22:09 UTC | |
Re (tilly) 2: Are debugging skills atrophying?
by tilly (Archbishop) on Apr 27, 2001 at 23:00 UTC | |
Re: Re: Are debugging skills atrophying?
by mothra (Hermit) on Apr 27, 2001 at 23:10 UTC | |
Re: Re: Are debugging skills atrophying?
by dws (Chancellor) on Apr 27, 2001 at 21:55 UTC | |
by merlyn (Sage) on Apr 27, 2001 at 21:58 UTC | |
by merlyn (Sage) on Apr 29, 2001 at 20:30 UTC | |
Re: Re: Are debugging skills atrophying?
by deprecated (Priest) on Apr 28, 2001 at 02:47 UTC | |
by Anonymous Monk on Apr 29, 2001 at 09:45 UTC | |
by Jenda (Abbot) on Oct 20, 2006 at 11:12 UTC |